upload image with small size

K

Kevin

for uploading image, I can use System.Web.UI.WebControls.HtmlInputFile
libary in codebehind.

but if resolution size is too big, I want to resize the picture to 800X600
and then do upload(save image). how can I do that?
what library do I need to use?
 
S

sreejith.ram

resize and then upload will not be possible without java/activex.
But you will be able to upload the big image and then resize it in the
codebehind.
 
S

sreejith.ram

System.Drawing.Image

i havnt worked with this. Googling ".net image resize" brought up some
good samples.

Also you may want to consider building a Windows Service / Scheduled
Program to periodically do the resizing on the images in the upload
folder, than resizing the image from asp.net page during the upload.
 
G

Guest

Hi,

Did you find a solution ?
I'm using VWD Express 2005 and SQL Express 2005 and created a web
application where users can update/insert/delete content.
What I would like to do is, just giving the users the possibility to upload
images as well using a FormView/DetailsView and have an Upload Control in my
TemplateItem, but the image is not uploaded in my DB.

Can someone help me?

Thanks,
B.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top