Title: Deprecation: source src
Last modified: February 15, 2019

---

# Deprecation: source src

 *  Resolved [perseusp](https://wordpress.org/support/users/perseusp/)
 * (@perseusp)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/deprecation-source-src/)
 * [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](https://wordpress.org/support/users/roselldk/)
 * (@roselldk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/deprecation-source-src/#post-11218497)
 * Thanks for reporting. Fixed in 0.11.3
    -  This reply was modified 7 years, 3 months ago by [rosell.dk](https://wordpress.org/support/users/roselldk/).
 *  Thread Starter [perseusp](https://wordpress.org/support/users/perseusp/)
 * (@perseusp)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/deprecation-source-src/#post-11218600)
 * In this case, JPG file is WebP. IE has problem with displaying.
 *  Plugin Author [rosell.dk](https://wordpress.org/support/users/roselldk/)
 * (@roselldk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/deprecation-source-src/#post-11219374)
 * 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](https://wordpress.org/support/users/roselldk/)
 * (@roselldk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/deprecation-source-src/#post-11219378)
 * The plan was to add [picturefill.js](https://github.com/scottjehl/picturefill)
 *  Thread Starter [perseusp](https://wordpress.org/support/users/perseusp/)
 * (@perseusp)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/deprecation-source-src/#post-11219411)
 * The EDGE web browser has selected a JPG source from PICTURE, but this JPG is 
   sent as a WebP.
 *  Plugin Author [rosell.dk](https://wordpress.org/support/users/roselldk/)
 * (@roselldk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/deprecation-source-src/#post-11221214)
 * 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](https://wordpress.org/support/users/roselldk/).

Viewing 6 replies - 1 through 6 (of 6 total)

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

 * ![](https://ps.w.org/webp-express/assets/icon.svg?rev=1918288)
 * [WebP Express](https://wordpress.org/plugins/webp-express/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/webp-express/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/webp-express/)
 * [Active Topics](https://wordpress.org/support/plugin/webp-express/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/webp-express/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/webp-express/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [rosell.dk](https://wordpress.org/support/users/roselldk/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/deprecation-source-src/#post-11221214)
 * Status: resolved