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 644 Downloads 314

'thumbnail', 'thumb', 'image', 'picture', 'screen', 'resize', 'reduce', 'enlarge', 'change', 'replace', 'error', 'gif', 'jpg', 'png', 'ShowThumb.aspx', 'aspx', 'ShowThumb', 'Thumbnail on fly'

ANmarAmdeen
333
Attachments
Multimedia VB.Net
Revisions

v3.0