thumbnail does not show up. Need some help
-
I have a problem with my thumbnail images on the homepage and I hope someone can help.
My theme uses the following code on index.php to grab the images and displays them next to the posts.
<?php if ( get_post_meta($post->ID,'image', true) ) { ?> <!-- DISPLAYS THE IMAGE URL SPECIFIED IN THE CUSTOM FIELD --> <a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>"><img src="<?php echo bloginfo('template_url'); ?>/thumb.php?src=<?php echo get_post_meta($post->ID, "image", $single = true); ?>&h=<?php if ( get_option('image_height') <> "" ) { ?>170<?php } ?>&w=<?php if ( get_option('image_width') <> "" ) { ?>350<?php } ?>&zc=1&q=90" alt="<?php the_title(); ?>" class="alignleft" /></a> <?php } ?>Besides that the theme uses the TimThumb script. When I enter the correct image URL it will show up within the post and it doesn’t show up on the homepage as a thumbnail!
Any ideas why that is? I’ll appreciate any help!
do77
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘thumbnail does not show up. Need some help’ is closed to new replies.