Thumbnail on fly

An aspx tool to generate thumbnail from an image, used to make page load faster by showing smaller version of an image
Pass image file name with f
f is expected to be in /img/ folder
Also pass either h or w to decide on the height or width of the thumbnail keeping aspect ratio

Copy file, then call as in example
If image not found, /img/error.gif is displayed instead


f, h, w


<img src=Thumbnail.aspx?f=img4.jpg&h=40 />

Views 62 Downloads 23

Perm link