![]() |
Simple GD Code For Text With A Background Image.
I have created a code to make it a background image with text in GD
Hope you enjoy PHP Code:
|
It's always nice to have a play around with GD from time-to-time, isn't? Just a note to anybody who's using your code. You have to drag the arial.ttf font from your fonts folder to your web-root (or just link to the font file in the font folder). Also ensure that your $_GET variable text is set. Finally, ensure the background image is a PNG. You're then good to go!
Thanks for sharing! Maybe the next thing you can do is detect what file type the background is, such as JPG, GIF, et cetera... |
| All times are GMT. The time now is 11:15 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0