WordPress.org

Support

Support » How-To and Troubleshooting » TimThumb Points to Invalid Image?!?

TimThumb Points to Invalid Image?!?

  • So when viewing the HTML, the SRC is along the lines http://www.festivalconference.com/wp-content/themes/yamidoo_pro/scripts/timthumb.php?src=http://www.festivalconference.com/wp-content/uploads/2013/07/branding_eventbrite_1-e1374092849587.jpg&w=520&h=280&zc=1

    The site is here

    The code from the editor is <img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $img ?>&w=60&h=50&zc=1" alt="<?php the_title(); ?>" />

    Any ideas why it’s not working? I’m guessing TimThumb is taking everything after jpg as part of the filename?

Viewing 1 replies (of 1 total)
  • Hi, the variables passed to timthumb are fine, they just specify the width, height and whether to hard crop the image when fitting to specified dimensions or not.
    It might not be working because image is in a different server and it’s not added to allowed sites variable (defined in the timthumb file), or maybe the file and directory permissions for timthumb.php and cache folder are not correctly set.
    Since you’re using Yamidoo Pro from WP Zoom, you should look for assistance from WP Zoom support. They’ll surely provide accurate instructions on how to make timthumb work properly with their themes.

Viewing 1 replies (of 1 total)
  • The topic ‘TimThumb Points to Invalid Image?!?’ is closed to new replies.
Skip to toolbar