Click
Click Examples

Page Action Image

Demonstrates how to serve image data through a PageAction. You should see the Click logo rendered below:

Retrieve image data through a Page Action

A PageAction is processed by passing the parameter pageAction and a target Page method. In this example the Page method is getStaticImageData.

<img src="/click-examples/general/page-action-image.htm?pageAction=getStaticImageData"/>

Dynamic images

You can easily load dynamic images by by passing request parameters.

Retrieve dynamic image data through a Page Action

In this demo we pass to the server the name of the image to load. The parameter imageName controls which image to load, in this example home.png.

<img src="/click-examples/general/page-action-image.htm?pageAction=getDynamicImageData&imageName=home.png"/>