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
https://forums.phpfreaks.com/topic/11672-image-resize-modify-zip/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.