Page 1 of 1

How to get 'Too Late !' text across image ?

Posted: Tue Mar 28, 2006 7:15 am
by mully
Hi there,

I run a reuse website and wish to stamp any images for things that are reused in large bright text with the words 'Too Late !' trouble is I am a newbie to PHP.

The script I use catches and uploads images, these are can be any size within certain admin defined boundaries. Then the script makes 1 copy and reduces it to a thumbnail size image leaving two images, one being a thumbnail and the other the larger original.

I figure I could force a resize on the original image to a standard large size and then layer a pic with these words on a transparent background over the top, does this sound like a reasonable solution ? It would mean me having two fixed size layer files one for the thumbnail and one for the larger image. Has anyone any code that does something like this or done it themselves in the past ?

Would be great to get some advice on this.

The site uses GD2 and PHP off a MySQL database.

Thanks in advance,
Mully :)

Posted: Tue Mar 28, 2006 7:49 am
by John Cartwright
Moved to PHP-Gd.

Posted: Tue Mar 28, 2006 9:03 am
by phpScott
If you are already some what familliar with the GD2 Library look at ImageCopyMerge()