WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

TextImage

This plugin displays the text of your post as a .png image.

Requirements

TextImage requires the gd module for PHP. If phpinfo() has a section for the gd module, you're probably OK. On my CentOS 4.3 server, I used the command 'yum install php-gd' to get the correct module installed. TextImage tries to detect whether gd is installed, and if it isnít, TextImage won't try to change the way WordPress displays your posts.

TextImage also needs TrueType fonts. These are files with the extension .ttf. There are probably hundreds of them on your Windows machine under /windows/fonts. There are also websites that sell TrueType fonts, or let you download them for free.

If your Linux server has a graphical interface installed, it probably also has some TrueType fonts. TextImage looks for them under /usr/shared/fonts. If your fonts arenít there you will need to change the value of the variable $textimage_font_directory at the top of textimage_wp.php.

Configuration

TextImage needs an image cache directory where WordPress can write the image files. If you create this in wp-content and give it the same permissions it should work.

TextImage also needs the URL to reach this directory. This doesn't need the http:// - for example, /blog/wp-content/cache/

Enter text and background colors as 6-digit hex RGB values. 0xff0000 is red, 0x00ff00 is green, and 0x0000ff is blue.

TextImage expects to find .ttf font files in /usr/share/fonts. If your fonts are somewhere else, specify a different directory on the configuration page. TextImage will recursively search directories under the one you specify to find font files.

Limitations

TextImage does not render HTML: it can't apply multiple fonts, bolding and italics (unless everything is bold or italic), or other fancy formatting to your post. You get one font in one size and color. You can, however, force line breaks by using carriage returns.

TextImage strips html tags from your post before it renders the image. It does not, however, modify the actual post. If you disable TextImage, all your HTML will work as before.

The current word-wrap algorithm sometimes makes lines shorter than they need to be.

TextImage renders only posts as images. Titles, comments, and all other content are unaffected.

TextImage receives only the most basic testing. Please report any problems by commenting on the TextImage blog at http://www.t2img.com/blog.

Requires: 2.1 or higher
Compatible up to: 2.7.1
Last Updated: 2009-3-22
Downloads: 5,092

Ratings

4 stars
4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1