• Resolved RICH65

    (@rich65)


    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 to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author bradvin

    (@bradvin)

    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

    (@rich65)

    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: https://cabletech.cz/products/, the number of errors was reduced by half.

    Instead of the “src” attribute, the “data-src-fg” attribute is displayed.
    Example: Greenpark Benesov 1 / 5th Project by Petr Páv Client of Metrostav

    When I check “Disable Lazy Loading” in Advanced (Gallery Settings), it has no effect.

    Thread Starter RICH65

    (@rich65)

    Sorry.
    The code: <img alt="Systémy pro ozelenění" title="Systémy pro ozelenění" width="145" height="145" data-src-fg="https://cabletech.cz/wp-content/uploads/2018/05/trelaz.jpg" class="fg-image" />

    Plugin Author bradvin

    (@bradvin)

    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

    (@rich65)

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Missing required attribute src’ is closed to new replies.