WordPress.org

Ready to get started?Download WordPress

Forums

Image Headlines Problem (4 posts)

  1. philpeeps
    Member
    Posted 8 years ago #

    Image headlines as been working on my site for a while for post titels, menu headings, etc...

    Today I went to change a menu title and I got the following error when I went to load the page.

    Warning: imagettfbbox() expects parameter 1 to be double, string given in /home/philpeep/public_html/wp/wp-content/plugins/image-headlines.php on line 793

    Warning: imagettfbbox() expects parameter 1 to be double, string given in /home/philpeep/public_html/wp/wp-content/plugins/image-headlines.php on line 802

    Warning: imagettftext() expects parameter 2 to be double, string given in /home/philpeep/public_html/wp/wp-content/plugins/image-headlines.php on line 692

    Warning: imagettftext() expects parameter 2 to be double, string given in /home/philpeep/public_html/wp/wp-content/plugins/image-headlines.php on line 716

    If I change the text back to what it was before, it loads the cached image just fine again. Why won't it create a new image with the new text? Agaain, it creates post titles jsut fine, just not when I use the following:

    <?php echo ImageHeadline_render( 'arg','font_size=36px' ); ?>

    I just used this lest than a week ago on 2 different sites with various textand itworked just fine....

    Any ideas?

  2. jennmiller
    Member
    Posted 8 years ago #

    I have no idea if this matters, but I use font_size=36 (leaving off the px). Sometimes the plugin is picky like that.

  3. philpeeps
    Member
    Posted 8 years ago #

    You are a life saver! I really don't understand it though...I have been using this plugin this way since day 1 (over 9 months) for 2 sites and it NEVER gave me a problem with that until I tried to change some things today.

    THANKS!

  4. gieworks
    Member
    Posted 8 years ago #

    anyone can help me...my headline have border around it...any idea..?

    http://gieworks.net/blog

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.