Featured Image Shows in FF but not in Chrome, Safari... (1 post)

  1. Flash Buddy
    Posted 4 years ago #

    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[0];?>&h=200&w=200&a=c&q=90" />

    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.

    View Offending Page

Topic Closed

This topic has been closed to new replies.

About this Topic