Title: validation issues when using Use &#039;Lazysizes&#039;
Last modified: September 1, 2016

---

# validation issues when using Use 'Lazysizes'

 *  Resolved [jynk](https://wordpress.org/support/users/jynk/)
 * (@jynk)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/validation-issues-when-using-use-lazysizes/)
 * Activating this adds the src-set as data-src-set so it doesn’t pass validation
   as sizes is still added causing
 * > the sizes attribute may be specified only if the srcset is also present
 * other settings,
    picture fill, Keep IMG SRC [x]
 * [https://wordpress.org/plugins/wp-retina-2x/](https://wordpress.org/plugins/wp-retina-2x/)

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

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/validation-issues-when-using-use-lazysizes/#post-7591292)
 * Yes but then you lose the advantages of the Lazysizes I think. Lazy loading for
   images can’t be “valid” unfortunately, but I would be you I wouldn’t care about
   it much 🙂
 *  Thread Starter [jynk](https://wordpress.org/support/users/jynk/)
 * (@jynk)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/validation-issues-when-using-use-lazysizes/#post-7591303)
 * so they can’t be lazy & validate?
 * Would be worth adding a not to this option like on the other settings too to 
   save others time figuring out what’s going on.
 * D.
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/validation-issues-when-using-use-lazysizes/#post-7591354)
 * > so they can’t be lazy & validate?
 * No, for le lazy to work you can’t have the SRC. I mean if you keep the SRC it
   works, but the normal image will be loaded in a non-lazy way, and the Retina 
   will be loaded in a lazy way if required.
 * > Would be worth adding a not to this option like on the other settings too to
   > save others time figuring out what’s going on.
 * Yes, I will add a note in the description in the options.

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

The topic ‘validation issues when using Use 'Lazysizes'’ is closed to new replies.

 * ![](https://ps.w.org/wp-retina-2x/assets/icon-256x256.png?rev=2597316)
 * [Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF](https://wordpress.org/plugins/wp-retina-2x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-retina-2x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-retina-2x/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-retina-2x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-retina-2x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-retina-2x/reviews/)

## Tags

 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/validation-issues-when-using-use-lazysizes/#post-7591354)
 * Status: resolved