I’ve been playing around with PHP, MySQL and the GD2 Library. Now for those who do not know what the GD2 Library is, it is a library that will allow PHP to create dynamic images. In conjunction with MySQL this allows me to create an image that will display up to 4 of your most recent WordPress titles which can then be used in various web applications such as Forum signatures.
Requirements:
PHP, MySQL and the GD2 Library: Chances are you already have all of these because WordPress already requires them.
Database Credentials: You must know your username/password/database/table prefix in order for the script to work properly.
Background Image: Currently the background image is 400 x 75 pixels and is a JPEG
Font: Fonts to be used should be that of TrueType (*.tff)
The resulting image will be of PNG type which is widely acceptable image format for the internet. Please note that not all Forums allow you to link images but if they do, you can use this to help promote your blog!
Currently this is in Beta but should have no issues. If you would like to try this out by all means please download it and place it into its own directory. Be sure to change the values in the Configuration Section to that of your blog.
Forum Examples:
BBCode:
[url=http://www.tyleringram.com] [img]www.tyleringram.com/display_blog.php[/img] [/url]
Download:
Download: Display_Blog v0.1b.zip





maryJul 19, 2007 at 09:00:56
[Link]
This is a very useful tip, something I will definitely want to try out for sharing my blog posts around the web. Very neat. Thanks for sharing!