Page 1 of 1

please help:put images together

Posted: Sat May 24, 2008 3:24 am
by sara933
hi
i want to put some images(gotten from mysql database)together that it seems one picture ,and i want to put a random background each time it is loaded for it.how can i do this?could anyone help me please?
Regards

Re: please help:put images together

Posted: Sat May 24, 2008 3:47 am
by onion2k
Open the background image (with imagecreatefromstring() as its from a db), then open the other image, and use imagecopy() to copy it on to the background, and then send the result to the user.