ShotGraph upload and thumbnail example

Enter data for image thumbnail

This script demonstrates creating thumbnails for images on the fly. The image will be sent to server and its thumbnail will be generated. Thumbnail size will not exceed specified rectangle and keep aspect ratio. The script does not use temporary files: all image manipulations are made in memory. Session variables are used for passing data between scripts.
Maximal file size for source image is 1MB and maximal image dimensions of that image is 2000x2000. Take into account that performance speed of this page is not real ShotGraph's performance speed: some time is required for delivering source file to server.


Maximal width:
Maximal height:
Image file:
Sorry, this example currently is not available online

Source file for this script is available from ShotGraph website:
www.shotgraph.com/examples.htm