Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Feedback
  3. Feature Request: Native Image src Fallback for SEO and Accessibility

Feature Request: Native Image src Fallback for SEO and Accessibility

Scheduled Pinned Locked Moved Feedback
4 Posts 2 Posters 75 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    J
    joaoloureiro
    wrote last edited by
    #1

    Hi Armin,

    I'm currently building a new professional design portfolio using Lay Theme, with a particular focus on technical SEO, accessibility and content discoverability across traditional search engines and AI-powered search platforms.

    During the technical validation of my staging environment, I identified the following image-loading behaviour:

    • The original HTML contains a Base64 placeholder in the src attribute.
    • The actual image URLs are provided through data-srcset.
    • After JavaScript execution, srcset is populated correctly, but src remains a Base64 placeholder.
    • With JavaScript disabled, the images are not displayed.
    • Disabling Lay Theme's lazy loading does not resolve this behaviour.

    I understand the performance considerations behind this implementation. However, Google's official image SEO guidelines recommend providing a valid image URL in the src attribute, even when responsive images use srcset.

    https://developers.google.com/search/docs/appearance/google-images

    Would it be possible to introduce an optional image-loading mode that provides a valid src fallback, ideally using native browser lazy loading?

    Alternatively, is there a supported PHP hook or filter that would allow me to implement this behaviour through a custom WordPress plugin, without modifying Lay Theme's core files?

    I would like to preserve the Gridder, responsive image functionality, Custom Phone Layouts and compatibility with future theme updates.

    Thank you for your work on Lay Theme. Its creative flexibility is precisely why I chose it for this project.

    Best regards,
    João Loureiro
    https://joaoloureiro.com

    1 Reply Last reply
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote last edited by
      #2

      hey!! ok i'll create a setting for this

      1 Reply Last reply
      • arminunruhA
        arminunruhA
        arminunruh
        Global Moderator
        wrote last edited by
        #3

        ok so just so you know: google does index images that are on laytheme websites.

        google does not index ALL images of a website, it chooses how many and you can't really change that as far as i know

        using the setting will degrade loading performance on pages with lots of images

        still working on it, i'll let you know once its done

        1 Reply Last reply
        • arminunruhA
          arminunruhA
          arminunruh
          Global Moderator
          wrote last edited by
          #4

          ok this will be the new setting:

          grafik.jpeg

          "use browser image loading"
          in lay options -> lazy loading section

          1 Reply Last reply

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Online Users
          arminunruhA
          arminunruh
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search