Issue
I have this problem here:
        <picture>
          <source
            srcset="/img/logoWebp/ebay.webp" type="image/webp"
          />
          <img
            alt="ebay"
            type="image/png"
            src="/img/logoPng/ebay.png"
          />
    </picture>
I have readed with this markup the browser should use the webP image but its using the png one. I am using ofcorse the lastes version of chrome.
Whats the probel here?
Solution
Ok guys i have found it out. It worked all the time just my dev tools kinda "trolled" me.
I thought it was png, but if i take a closer look it says currentSrc:
Answered By - bill.gates
 

0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.