php imagecreate help

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!

Moderator: General Moderators

Post Reply
natatkinson
Forum Newbie
Posts: 4
Joined: Wed Jul 23, 2008 3:02 pm

php imagecreate help

Post by natatkinson »

I'm doing some php imagecreate work, and i've created a template image. From that template I want to add text and another smaller image that goes onto the template image. All this data is coming from a form.

I've got no problem getting the text on the image, but I cannot find out how to put an image on an image. Can anyone throw me a bone?
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: php imagecreate help

Post by onion2k »

You need to use imagecopy().
natatkinson
Forum Newbie
Posts: 4
Joined: Wed Jul 23, 2008 3:02 pm

Re: php imagecreate help

Post by natatkinson »

thats all I needed, was just a push in the right direction. Thank you very much, i've got it working.
Post Reply