Title: Missing required attribute src
Last modified: October 8, 2018

---

# Missing required attribute src

 *  Resolved [RICH65](https://wordpress.org/support/users/rich65/)
 * (@rich65)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/missing-required-attribute-src/)
 * Foogallery is great, but I have one problem.
 * The W3C validator reports the following error twice for each entry: Element img
   is missing required attribute src.
 * I use the gallery settings – Responsive Image Gallery.
 * Please advise me how to fix these errors.
 * Thanks.
 * RICH
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmissing-required-attribute-src%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/missing-required-attribute-src/#post-10764743)
 * hey RICH,
 * you can get it validating again if you disable lazy loading from the settings
   page.
    The src attributes will then be output
 * cheers
 *  Thread Starter [RICH65](https://wordpress.org/support/users/rich65/)
 * (@rich65)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/missing-required-attribute-src/#post-10764976)
 * Hello bradvin.
 * I use the a3 Lazy Load plugin. This allows you to exclude by URIs.
    After removing
   the lazy load on the page, for example: [http://cabletech.cz/products/](http://cabletech.cz/products/),
   the number of errors was reduced by half.
 * Instead of the “src” attribute, the “data-src-fg” attribute is displayed.
    Example:
 * When I check “Disable Lazy Loading” in Advanced (Gallery Settings), it has no
   effect.
 *  Thread Starter [RICH65](https://wordpress.org/support/users/rich65/)
 * (@rich65)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/missing-required-attribute-src/#post-10764984)
 * Sorry.
    The code: `<img alt="Systémy pro ozelenění" title="Systémy pro ozelenění"
   width="145" height="145" data-src-fg="http://cabletech.cz/wp-content/uploads/
   2018/05/trelaz.jpg" class="fg-image" />`
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/missing-required-attribute-src/#post-10777160)
 * hey Rich – I had a look at that part of the code and found a bug, so lazy loading
   never turns off! I have corrected it and it will be released in the next version.
 *  Thread Starter [RICH65](https://wordpress.org/support/users/rich65/)
 * (@rich65)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/missing-required-attribute-src/#post-10777171)
 * Thank you.

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

The topic ‘Missing required attribute src’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Gallery by FooGallery](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [RICH65](https://wordpress.org/support/users/rich65/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/missing-required-attribute-src/#post-10777171)
 * Status: resolved