Any clues as to why my featured image is not showing in Chrome?
Here is my code to display the image:
<?php if (has_post_thumbnail( $post->ID ) ): ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?> <img id="postFeatured-image" src="<?php bloginfo('template_url');?>/timthumb.php?src=<?php echo $image;?>&h=200&w=200&a=c&q=90" /> <?php endif; ?>
Strangely, it is the same code that displays the post thumbnail in the listings of recent posts under the news tab in the sidebar; where it works as expected.
- The topic ‘Featured Image Shows in FF but not in Chrome, Safari…’ is closed to new replies.