"Harley" <harleyobrien%40hotmail.com> wrote in message
news:#5caeeJXDHA.2464TK2MSFTNGP09.phx.gbl...the> is there any way to manipulate images in vb.net in asp.net?
> i have a 280x280pixel jpg file, and want to display it in 2 sizes, 280x280
> and 70x70... without having to create 2 files... (actually there are some
> 100s files, dont want to duplicate them...)
> any way to use an image class or something to resample the image and getYou probably want something like this:> stream as a jpg file displayed on an aspx file?
> i know there were com components for ASP to do this, like ASPImage, but
> cannot install custom components on my server.
Use the single thumbnail browser and adapt to code to take in parameters for
the sizes you want.
I used something similar for a photo gallery site, it works fine and the
images look really good :)
But be careful with .bmp and .png files, they can have problems displaying
on a page.
See [url]http://aspalliance.com/chrisg/default.asp?article=152[/url] for more info.