PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
My question is fairly simple I think. I basically just wanna add my watermark to any image that users upload to my website. I've already got the image uploading working fine, I just wanna know how to crop the image to a specific size, and then stick my little logo on it.. Any thoughts, links or points in the right direction woudl be great. I'll continue searching until I hear something back from the community.
As for the watermarking.. I answered this the other day in the graphics folder: viewtopic.php?t=40358 .. there's two solutions in there, one to resize the watermark to cover the whole image, and one to tile the watermark over the image. Both solutions assume that the watermark is a transparent PNG file. If you just want to add the watermark in a corner or something you'll need to modify the imagecopyresampled() arguments a bit.
Sweet dude, thanks for replying. I'm new to the forums so forgive my wrong and duplicate posting. Sometimes its hard to know what to search for and what not. Appreciate it man.
Oooh yes, and I meant Resize. sorry very late here.