WordPress.org

Ready to get started?Download WordPress

Forums

TimThumb Points to Invalid Image?!? (2 posts)

  1. rockgeek
    Member
    Posted 1 year ago #

    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?

  2. Elio Rivero
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic