Demonstrates how to serve image data through a PageAction. You should see the Click
logo rendered below:
A PageAction is processed
by passing the parameter pageAction and a target
Page method. In this example the Page method is getStaticImageData.
<img src="$context$path?pageAction=getStaticImageData"/>
Dynamic images
You can easily load dynamic images by by passing request parameters.
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="$context$path?pageAction=getDynamicImageData&imageName=home.png"/>