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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kevp75Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
kevp75Commented:
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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.