• Resolved perseusp

    (@perseusp)


    [Deprecation] <source src> with a <picture> parent is invalid and therefore ignored. Please use <source srcset> instead.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author rosell.dk

    (@roselldk)

    Thanks for reporting. Fixed in 0.11.3

    • This reply was modified 7 years, 3 months ago by rosell.dk.
    Thread Starter perseusp

    (@perseusp)

    In this case, JPG file is WebP. IE has problem with displaying.

    Plugin Author rosell.dk

    (@roselldk)

    Sorry, don’t understand what you mean.
    Can you elaborate?

    But I see that I forgot to add the javascript for srcset/picture support on older browsers. Is that it?

    Plugin Author rosell.dk

    (@roselldk)

    The plan was to add picturefill.js

    Thread Starter perseusp

    (@perseusp)

    The EDGE web browser has selected a JPG source from PICTURE, but this JPG is sent as a WebP.

    Plugin Author rosell.dk

    (@roselldk)

    That is strange behaviour, indeed.

    Browsers should prefer the source with the type=”image/webp” over a source without it, when they support webp. So if your Edge browser selects the jpeg, it should mean it does not support webp. When WebP Express is in “Varied image responses” mode, it returns webp images for jpeg requests. But only when the browser has send an Accept header containing “image/webp”, indicating that the browser accepts webp. Your results is thus contradicting.

    Which version of Edge are you using? According to caniuse, Edge supports webp in version 18, but not in previous versions.

    How does your picture markup look?

    I’m assuming that you put WebP Express in Varied image responses mode? (otherwise a jpeg should not return as a webp).

    Oh, wait a minute. Could it be that you are using a CDN? Unless set up properly (which not all can), CDN’s doesn’t handle varied image responses. In that case you should use “CDN friendly mode”

    • This reply was modified 7 years, 3 months ago by rosell.dk.
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Deprecation: source src’ is closed to new replies.