WordPress.org

Ready to get started?Download WordPress

Forums

timthumb.php script is not working. (8 posts)

  1. alexwrld
    Member
    Posted 3 years ago #

    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/

  2. alexwrld
    Member
    Posted 3 years ago #

    Please have a look at the script:

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

  3. alexwrld
    Member
    Posted 3 years ago #

    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.]

  4. holysjit
    Member
    Posted 3 years ago #

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

  5. alexwrld
    Member
    Posted 3 years ago #

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

  6. holysjit
    Member
    Posted 3 years ago #

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

  7. alexwrld
    Member
    Posted 3 years ago #

    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?

  8. funbeel
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic