Are retina logos necessary after WP 4.4+

My client has asked me to add retina logo capability to their theme. They say when they upload an extra large logo, it looks good on retina mobile but looks a little thin on a larger desktop. However, doesn’t WP 4.4 and up already load the proper image for retina displays? Would adding a 2x retina image be redundant or unnecessary?

For example, they have a logo element that is set to a max-width of 150px, and they uploaded an image that is 349px wide…. I can see in the source code that it looks like this:

  <img width="349" height="132" src="" class="attachment-logo size-logo" 
 srcset=" 349w, 300w, 36w" sizes="(max-width: 349px) 100vw, 349px">

It’s serving me the 300×113 img on an iPhone, and the full size image on a macbook – both retina displays.

Would adding a retina 2x to the srcset do anything better than what’s being done now?

Read more here: Are retina logos necessary after WP 4.4+

Leave a Reply

Your email address will not be published. Required fields are marked *