Title: title images plugin difficulty
Last modified: August 18, 2016

---

# title images plugin difficulty

 *  [danithew](https://wordpress.org/support/users/danithew/)
 * (@danithew)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/title-images-plugin-difficulty/)
 * I’m trying to get the title images plugin (from the false hopes blog) to work
   and am having some trouble. Here’s the code I’ve got in my generate.php file:
   
   <?php //please edit the variables here as you see fit, as long as there isn’t
   a don’t edit this comment $text = urldecode(urldecode($string)); //don’t edit
   this $text = str_replace(Ã¯Â¿Â½.pngÃ¯Â¿Â½, Ã¯Â¿Â½Ã¯Â¿Â½, $text); //don’t edit
   this either $text = $text; //don’t edit this either either $im = imagecreate(
   550, 38); //the image size. it goes (width, height) $fontsize = 24; //this is
   the font size, edit it $int_angle = 0; $x_shift = 1; //shadow attribute $y_shift
   = 28; //shadow attribute $bgcolor = imagecolorallocate($im, 255, 255, 255); //
   background color $shadow =imagecolorallocate($im, 00, 00, 00); //shadow color
   $textcol = imagecolorallocate($im, 153, 153, 153); //text color $font = “[http://www.wump.info/public_html/wumpblog/biblet.ttf&#8221](http://www.wump.info/public_html/wumpblog/biblet.ttf&#8221);;//
   absolute path to the font you would like to use //you don’t need to edit anything
   below this point! imagettftext($im, $fontsize, $int_angle, $x_shift, $y_shift,
   $shadow, $font, $text); //makes the image imagettftext($im, $fontsize, $int_angle,
   $x_shift-1, $y_shift-1, $textcol, $font, $text); //makes the image header(“Content-
   type: image/png”); // turns the image into a png file imagepng($im); imagedestroy(
   $im); ?> I’ve tried altering the url in a few different ways but nothing is calling
   up the image. Instead I’m just seeing the white box with an “x” in it that lets
   one know an attempt is being made to call an image. The font file I wanted to
   use, titled “biblet.ttf” is in the root directory.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/title-images-plugin-difficulty/#post-78503)
 * Path – try this:
    “[http://www.wump.info/wumpblog/biblet.ttf&#8221](http://www.wump.info/wumpblog/biblet.ttf&#8221);
 *  Thread Starter [danithew](https://wordpress.org/support/users/danithew/)
 * (@danithew)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/title-images-plugin-difficulty/#post-78551)
 * I think I tried that already but I gave it another whirl. Still isn’t working.
   I’m not sure what small thing I’m missing but I’ll keep looking at the issue.
   Once it actually works, I imagine it would be fun to try inserting different 
   fonts in here to see how they look.
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/title-images-plugin-difficulty/#post-78585)
 * You have to use the ABSOLUTE PATH to the font, NOT THE URL… the path is as it
   is on the server… typicaly something like this /usr/home/your-name/htdocs/public_html/
   WP/Font/MyFontt.ttf
    Using http: for the font doesn’t work, as it can’t be used
   over the http protocol. TG
 *  Thread Starter [danithew](https://wordpress.org/support/users/danithew/)
 * (@danithew)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/title-images-plugin-difficulty/#post-78588)
 * TechGnome, thanks for the pointer. I’ll try and figure out what the absolute 
   path is then. 🙂
    I’m thinking it might be something like /home/public_html/wumpblog/
   biblet.ttf … but we’ll see. Thanks for your help.
 *  Thread Starter [danithew](https://wordpress.org/support/users/danithew/)
 * (@danithew)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/title-images-plugin-difficulty/#post-78591)
 * Hey TechGnome!
    That worked. I didn’t quite realize what “absolute path” meant
   but now I do! I’ll have to make some adjustments for background color and for
   centering (for the post titles) but they are now showing up!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘title images plugin difficulty’ is closed to new replies.

 * 5 replies
 * 3 participants
 * Last reply from: [danithew](https://wordpress.org/support/users/danithew/)
 * Last activity: [21 years, 10 months ago](https://wordpress.org/support/topic/title-images-plugin-difficulty/#post-78591)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
