I’m trying to manipulate a script I found for watermarking using the GD library.
I want to make so that I can set the width of the image and then have the script calculate the appropiate height for that width. With the little modifications i made, the watermark is correctly positioned but the background image does not scale down. I don’t know how else to explain it, have a look at my code and you might get a better idea.
Here’s the link:
http://pastebin.com/m690b5f86
Thanks