Resize Image before Upload

Hi Gang..  I am using ASP for my web pages.  I have the need to upload images, but restrict my users to a limit on size.  I do not want the user to have to resize the image, but I do not want to upload and THEN resize.  I woul like to Resize on the client, and then upload the images to my chosen area..

Any one got an idea which can help me??


Best regards

Derek.
DelboyAsked:
Who is Participating?
 
kevp75Connect With a Mentor Commented:
can't resize before the upload.  All the processing is done on the server (unless of course you tell them to resize it themselves)

Most upload components have a file size parameter that allow you to be able to limit the size of the file to be uploaded, some may even have a pixel restricter built right into it.  But in order to have the image resize, you would need to have the file saved to the server, then run the resizer, not the other way around
0
 
DelboyAuthor Commented:
I thought that might be the response..  there must be an applet out there somewhere which I can 'plug in' to my page..  the search goes on..  thanks for the comments..


Derek.
0
 
kevp75Connect With a Mentor Commented:
there may be a java applet that might do it for you, but my thinking is this.  If you don't have the file, how can you do the resize?  I couldn't resize the Yahoo logo without downloading it first.

Interesting concept though.  've done a little searching and mainly have come up with forum posts about it....
http://gallery.menalto.com/node/33084
http://gallery.menalto.com/node/13899
http://www.alphaworks.ibm.com/tech/j323engine?open&l=jars,t=gr,tech=j323engine


have a look through the manual here:http://www.aspjpeg.com/manual_03.html
It says you can upload the image to server memory (not disk) and do the resize, however it may take both of their components to do it.

good luck  :)
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
peterxlaneCommented:
This can be done for free using .Net

I have an upload form that allows an image to be uploaded and it creates a 450X600 version of the image, a 100X75 version of the image, and saves the original image as well.

At a bare minimum, the image has to be uploaded to memory on the server in order for any type of image processing to occur, unless you use an ActiveX control.  I know nothing about Java applets so I don't know their capabilities.

Bear in mind, that this is about the only thing I have done with .Net, and it was not overly difficult at all.  There are so many samples online to get you started.  Coincidentally, after I built my page with .Net, I discovered that my web host had not one, but two different image resizing components available for use, so I would check on that to begin with...

0
 
DelboyAuthor Commented:
Thanks for the comments guys..  I have just fould an image resizer on the microsoft website which is fab..  you can right click any image and resize on the fly..  so if you are in a browse window just before you upload an image, you can right click the image(s) and choose resize..  choose the size and it is done..  fab stuff from the powertoys section of MS..


Have agood easter fellows..

Derek.
0
 
DelboyAuthor Commented:
sorry peter, just got your message after submiting my comments..  thansk for that..  I will have a look at that too...

Regards,

Derek.
0
 
AbulhallajCommented:
Can you tell me the link of microsoft image resizer?
0
All Courses

From novice to tech pro — start learning today.