|All requests||>||Reduce image file during upload process||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Atherton Hiett - 7 years ago (2015-04-28)
I have a form which allows an individual to upload a picture of a street with a pot hole. I do not expect them to resize the photo prior to uploading it. I need to reduce its size during the upload process. Needs to handle typical file formats that cameras use: jpg, png etc.
1. by Kamal - 2 years ago (2020-02-23) Reply
This is the one I have used for years and have never had to go looking for anything else. It can resize on the fly, displaying the original image resized (useful for thumbnails) or can resize and save, which is what you are after. Uploaded images are stored in the servers temp folder until you move them to the location you want to store them. This is when the resize is done.
1. by Samuel Adeshina - 7 years ago (2015-05-13) Reply
Actually its a very nice and useful class. was about writing a script that does just this, for a project I'm working on until I saw this recommendation.