TextImage plugin 0.2 released, t2img.com launched

I have checked TextImage 0.2 into wordpress.org svn. It is available now at wordpress.org.

Warning: if you are using the old version, 0.2 breaks the old behavior of converting every post into an image. Now you have to enclose anything you want converted between <textimage> and </textimage> tags.

I think this is much more useful, but please let me know if you’d like the old behavior available as an option.

I have also launched t2img.com as a free web service so people can create TextImages without installing WordPress and a plugin. 

4 Responses to “TextImage plugin 0.2 released, t2img.com launched”

  1. qwan Says:

    I am using your plugin and I thank you for developing it.
    I had a few doubts.
    1 is about the fonts. I really dont know from where it is taking the fonts.(and the fonts are not good there) I would like to have the fonts in my public_html directory.
    I am not sure what to change the directory to.
    I see that you have the directory set to usr/share/….
    I want to place the fonts in home/public_html/fonts/
    If i place the fonts there will it work and second what will be the correct path.

    I was wondering that since the new version you require that one enters the tags. Is there any way we can add a button in the text editor where you can just select the text and enclose the tags in a click of a button.(just like the bold button) I think that would be a cool feature for the next release.
    Also adding something like that too difficult(i am new to wordpress) if not then could you please guide me as to how to go about it.
    Thank you

  2. admin Says:

    Hello quan,

    On line 33 of textimage.php, change

    $textimage_font_directory = ‘/usr/share/fonts/’;

    to

    $textimage_font_directory = ‘/home/public_html/fonts/’;

    In a later version I may add a configuration option for that value.

    I don’t know how to add the functionality you would like to the editor. It’s a cool idea but wouldn’t let you do anything new; it just makes it easier to use.

  3. qwan Says:

    Thanks for the reply.
    I have tried that. I copied the arial regular font into that folder.
    But it did not show any fonts in the settings.
    That is why I came here for help.

    Right now I checked my settings again. It is the same as above. Infact the right directory path is /home/mysitefolder/public_html/fonts/.
    Because when I changed it to /home/public_html/fonts/’ it gave me a an error message saying it could not open directory.
    Then when I changed the path to /home/mysitefolder/public_html/fonts/ no error message but it is not recognizing the font.
    Like I mentioned before I have put arial regular font in this folder.
    Please advice
    Thank you

  4. admin Says:

    Oops, sorry for the sloppy foldername in my last post. Of course you need your user directory after /home.

    Is your font file a valid TrueType font? Does its filename end with “.ttf”?

Leave a Reply