Support » Fixing WordPress » timthumb.php script is not working.

  • Can anybody explain what error is this and why I’m receiving this?

    Notice: Undefined index: extension in /home1/seoproin/public_html/antiquesartgallery/wp-content/themes/successtest/timthumb.php on line 245

    Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home1/seoproin/public_html/antiquesartgallery/wp-content/themes/successtest/timthumb.php on line 206

    Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: ‘/home1/seoproin/public_html/antiquesartgallery/’ is not a valid JPEG file in /home1/seoproin/public_html/antiquesartgallery/wp-content/themes/successtest/timthumb.php on line 206
    Unable to open image : /home1/seoproin/public_html/antiquesartgallery/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Please have a look at the script:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Why my image source is not visible?

    <img src="<?php bloginfo( 'template_directory' ); ?>/timthumb.php?src=<?php echo get_post_meta( $post->ID, "image_value", true ); ?>&w=69&h=54&zc=1" alt="<?php the_title(); ?>" />

    [Please post code snippets between backticks or use the code button.]

    Did you use an uploaded image from your OWN server? External linking won’t work!

    Well, I uploaded the image from computer which can be seen in media gallery as well.
    What do you think is the problem?

    Check your /antiquesartgallery/ folder. Correct CHMODS? 777 or 775? Does the folder exist?

    I checked in my Cpanel in Wp-content/theme folder.
    I can’t see this folder. Could you please explain what this is and how to create it?

    if you want see this link.

    <img src="<?php bloginfo( 'template_directory' ); ?>/timthumb.php?src=<?php echo get_post_meta( $post->ID, "image_value", true ); ?>&w=69&h=54&zc=1" alt="<?php the_title(); ?>" />

    [Please post code snippets between backticks or use the code button.]

    You should go to the / theme fanction.php

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘timthumb.php script is not working.’ is closed to new replies.