Forums

safari not displaying post_thumbnail (1 post)

  1. stunnaboi
    Member
    Posted 1 year ago #

    For some reason, sometimes when I view a new blog post in Safari the post_thumbnail() image won't display - it outputs in the html but will be assigned a height and width of 0. Something like:

    <img width="0" height="0" src="http://www.website.com//wp-content/uploads/report-615x313.png" class="attachment-blog-post-thumb wp-post-image" alt="report.png" title="resolution-report.png">

    Also very strange as I can only recreate it somewhere roughly around 50% of the time, and seemingly in only in Safari - though I may also have a memory of it happening in Chrome so maybe a webkit bug?

Topic Closed

This topic has been closed to new replies.

About this Topic