WordPress.org

Ready to get started?Download WordPress

Forums

Timthumb image won't load in Categories. (1 post)

  1. ManVsDate
    Member
    Posted 3 years ago #

    Hi guys,

    I'm completely stumped on this one. i'm using a theme called neptune. it works fine but when i click on Categories it won't load the image.

    When i look at the code inside search.php i see something called timthumb that is supposed to return a URL, but doesn't return anything. so I replaced it with something that works. But I can't find how the theme generates categories.

    <?php $preview = get_post_meta($post->ID, 'preview', $single = true); ?>
    <img class="ethumb" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $preview; ?>&h=150&w=150&zc=1" alt=""/>

    So instead i get a broken link. Whats weird about it is that if I delete this code my browser still says the link is coming from timthumb.

    http://manvsdate.com/wp-content/themes/neptune2/timthumb.php?src=&h=150&w=150&zc=1

    I have no idea why the theme uses timthumb as the rest of the theme works fine. How can i fix this. PLEASE HELP!

    Where does wordpress or the theme generate categories?

Topic Closed

This topic has been closed to new replies.

About this Topic