Rubber Stamping an Image Using Cold Fusion and csImageFile

This example shows how a "rubber stamp" can be added to an image. The original image is not altered. This can be useful in a number of applications, particularly online shops where a "sold" or "out of stock" mark needs to be placed over an image.

The original image.

The "stamped" image.

This page is contains no important scripting. The <img> tag for the image on the right points to another script which calls csImageFile, creates the compound image and streams it using the <cfcontent> tag.

The <img> tag:

<img src="sold.cfm">

Click Here for the listing and description of "sold.cfm", the script that produces the compound image.