PHP Classes

Reduce image file during upload process: Upload digital camera file and reduce its size

Recommend this page to a friend!
  All requests RSS feed  >  Reduce image file during upload process  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Reduce image file during upload process


Picture of Atherton Hiett by Atherton Hiett - 7 years ago (2015-04-28)

Upload digital camera file and reduce its size

This request is clear and relevant.
This request is not clear or is not relevant.


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 Clarification request
  • 1. Picture of Kamal by Kamal - 2 years ago (2020-02-23) Reply


    Ask clarification

    1 Recommendation

    Resize Images: Generate resized images

    This recommendation solves the problem.
    This recommendation does not solve the problem.


    Picture of Dave Smith by Dave Smith Reputation 6845 - 7 years ago (2015-04-29) Comment

    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 Comment
    • 1. Picture of Samuel Adeshina 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.

    Recommend package