Hey,
I am wanting to add a little Copyright/Info bar at the bottom of every picture I upload using the Upload/Resize script I have coded ( using GD ). How would I go about adding say a 20-30px in height black bar to the bottom of every picture then put some text on it in white?
Thansk!
GD Add Black Bar + Text to bottom of Image
Moderators: onion2k, General Moderators
Thanks for the links guys, I have managed to get it working with imagestring() but the font is horrible so I am now trying imagettftext() BUT it displays no text, here is the code I am using:
Could it be because of my position? I want it 5px from the left, and 5px from the bottom and in the font Verdana if that's possible?
Code: Select all
imagettftext( $newImage, 20, 0, 5, 5, $black, 'verdana.tff', $text );