26271Dynamic Forum Signatureshttp://www.codedemons.net/tutorials/PHP/Dynamic-Forum-SignaturesAbout a year ago I created a signature for use in forums. This sig is an image that display's the last 5 tutorials (or tips) that have been approved at CodeDemons. Because I have had many people asking me how I did this, I am going to explain. With this knowledge you can do just about anything with your sig. You will know how to pull any information from a database and drop it in an image. It does not even have to be a signature.PHP > Tips and Tutorials > Image ManipulationOct 15, 2006
This article will tell you how to write text on an existing PNG image using PHP using PHP's image manipulation functions. The image functions require the GD library to be installed. This article is fairly basic, however some more detail on the basic functions used is included in the article, "write text on a dynamically generated image in PHP"
First, we need the source image. In this example, we're using an image called image.png (with dimension 150x150, though this code will work with any size of image) which is shown below:
First of all I tried to use Server Side Maps, but I found that they need a Perl script with too many lines of code. So I came to phpbuilder and found an article from Rasmus Lerdorf : Creating Dynamic Images with PHP that shows how useful PHP and the GD library could be for that purpose. Thanx Rasmus!
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.