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

CodeFunctionName
What is this?

Public

Tested

Imported
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 4,333

Downloads 1,480

CodeID
DB ID