List Info

Thread: RE: Image resize




RE: Image resize
user name
2008-02-27 19:18:41
There's a bunch online - try this:

http://aspalliance.com/402_ASPNET_images_Thumbnails_

Or search for ASP.NET image upload aspect ratio.

Steve

----- Original Message ----- 

I'm working on uploading an image using the file upload
control.  These
will always be images and what I'd like to do is force the
image to be a
certain width and let the height automatically resize itself
to keep the
aspect ratio even.  I'm not finding much online but it seems
as if I'll
be using the system.drawing namespace.  Anyone have any good
resources
for getting this done in VB?   

Is it possible to manipulate it on upload before it's saved
to the
server?  One of my form fields is a product code, my plan is
to resize
the image (so they are all the same width) and rename it
using the value
in the product code text box then save it to the server. 
This way I can
just grab the image for that product easily by referencing
the code.
What do you think?
 
Russ 
 




--- List Settings ---
http://aspadvice.com/list
s/


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )