Jump to content

Image resize-modify & ZIP


adyre

Recommended Posts

First... How can I make to add an Image over another (example a .png on an image I upload to my site for example...) and after that make a resized copy on the server... al this automaticaly.. I just upload the pic and the final result is 2 images (one small size, one original size) with my "fingerprint" on it.

And then, if I chose to, how can I zip the pics, automaticaly...

And this are for PHP4 or maby 5 (I'm still not yet decided on my hosting.. :P)

Hope I expressed myself corectly and you can understand...

Anticipated 10x.
Link to comment
Share on other sites

You could look into the functions imagecopyresampled() or imagecopymerge() - Keep in mind that you will need the GD library installed on the server. As for archiving the files, there are a few classes flying about the internet, I've used one called SS_ZIP and it does the job nicely.
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.