The MU forums have moved to WordPress.org

Comfy Theme Thumbnails (10 posts)

  1. EAC_Yop
    Member
    Posted 14 years ago #

    Hi

    I've having problems with the thumbnails on the home page for the 'comfy' theme.

    I think there is some confusion between the auto thumbnails made by Wordpress and the ones being created by a script in the theme.

    When I look up the image in the directory I see via right click and properties. I get this error...

    Deprecated: Function eregi() is deprecated in C:\xampplite\htdocs\wordpress\wp-content\themes\comfy-plus\scripts\phpThumb\phpThumb.php on line 152

    The home page loads with errors and the image does not diplay. Can anybody help?

  2. kgraeme
    Member
    Posted 14 years ago #

    The error tells you the problem. The eregi() function is deprecated. That means it's a function that was removed from the PHP language. That particular function was removed as of PHP 5.3.

  3. EAC_Yop
    Member
    Posted 14 years ago #

    Do you know what I can do to change it? I don't really know PHP.

  4. kgraeme
    Member
    Posted 14 years ago #

    There are other functions in PHP to do similar things and they may work, but you'd have to google around for them as well as learn how to write regular expressions.

    Or try contacting the theme author to see if they're still maintaining the theme.

    Part of selecting a theme or plugin for any wordpress site is evaluating whether the author is supporting the code or being capable of supporting it yourself if they don't.

  5. andrea_r
    Moderator
    Posted 14 years ago #

    That theme uses a thumbnails script, and I'd be ripping it out and replacing it. :)

  6. EAC_Yop
    Member
    Posted 14 years ago #

    Thanks, andrea_r

    Has anybody used this theme and replaced the script before? Do you know a good one to swap it with?

  7. andrea_r
    Moderator
    Posted 14 years ago #

    I haven't used that theme, but I have replaced thumbnails with the get the image plugin.

    http://wordpress.org/extend/plugins/get-the-image/

  8. kgraeme
    Member
    Posted 14 years ago #

    And in case you don't follow wp development, 2.9 will introduce built in post thumbnails.

  9. kgraeme
    Member
    Posted 14 years ago #

    Also, EAC_Yop are you using the current pay version of the Comfy theme or an older version you found from when it was free?

  10. EAC_Yop
    Member
    Posted 14 years ago #

    It's the free older version.

    The Wordpress I'm using has an automatic thumbnail creator, three sizes. I'd rather switch the script off and have the tbn's link to the images created by this. However, I can't seem to find a way to do this.

    I'll have a go installing the 'get the image'

About this Topic