Timthumb image won't load in Categories.
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.
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?
- The topic ‘Timthumb image won't load in Categories.’ is closed to new replies.