Jul 23, 2008 05:25 AM|nmeighty|LINK
Its common need to show images of one product in different imag sizes like 50X50 ,80X80 and even 500X500. So some people use to save thumbnails in different width and heights at the time of uploading.
Is this possible that we can use following syntax to generate thumbnail?
<img border="0" src="http://mywebisteurl/thumbnail.aspx?pic=uplimg/img.gif&w=80&sq=Y&/> (I have seen some website's html and it was from there)
The things to notice are in the source attribute of Img tag. I am giving address of my page which will generate thumbnail of width ' w =80' and then I am specifying 'sq=Y' which means that it should
be of square type i-e width==height)
I don't know what should I do in thumbnail.aspx page and how to return image. Please help me in how to generate best thumbnail and how to use them