Jump to content

Image manipulation on upload


robcrozier

Recommended Posts

Hi guys,

 

I wonder if anyone can help or even point me in the right direction with this one?

 

Basically what i'm trying to do is allow a user to upload an image via a form and then have php re-size it (proportionately) and also reduce the size of the image file in the process.  Basically, the upload stuff is done and im also watermarking the images on upload, so the file would need to be re-sized etc before the watermarking takes place.

 

For instance, a user uploads a file with dimensions: H600px and W300px.  I want to be able to reduce the image so that it has a width of say 100px and the height to be reduced proportionately.  It is also important that the overall file size is reduced too in order to save disc space and image load time.

 

If anyone has any suggestions, or knows of any good sites etc that might point me in the right direction this would be great!

 

Thanks in advance

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.