The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Vertical SEO: Video, Image, Local
    4. Will background images get indexed?

    Will background images get indexed?

    Vertical SEO: Video, Image, Local
    8 6 19.1k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nans
      nans last edited by

      Will images, loaded via css class, get indexed?

      For example something like :

      style="background-image: url(https://www.mysite.be/content/dam/homepage-mama.jpg/_jcr_content/renditions/cq5dam.web.2000.9999.jpeg);"

      1 Reply Last reply Reply Quote 0
      • Fuel
        Fuel last edited by

        Hi Nancy,

        This article might be of some assistance - http://stackoverflow.com/questions/25773047/what-will-be-indexed-better-in-search-engines-img-tags-or-background-images-wit 

        1 Reply Last reply Reply Quote 0
        • HashtagHustler
          HashtagHustler last edited by

          Nancy,

          Although I am saying this all based on my personal speculation I believe that they will be indexed. I do not know 100% if it will but Google has gotten much better at indexing Java/CSS. As far as if you want these to be indexed I would also take a look at Google's image guidelines for best practice and see if there is something of value in there.

          1 Reply Last reply Reply Quote 0
          • Dr-Pete
            Dr-Pete last edited by

            Unfortunately, "can" and "will" are sometimes two different matters. Google is pretty CSS-savvy at this point, and I'm 98% sure they can index those images. If it's a background image, and depending on how it's set up, they may choose not to, but that's a bit trickier.

            Weird question, but do you want it indexed, or not?

            Asking around to see if there are any image-SEO experts who can provide a more data-driven answer.

            1 Reply Last reply Reply Quote 0
            • KaneJamison
              KaneJamison last edited by

              Quick anecdotal reference - for the 1 site I just checked (which allows CSS to be crawled), no they are not indexed.

              However, Google crawls CSS and can load those images when you Fetch And Render inside of GWT I believe, so theoretically they can index them.

              Next question is what would cause them to do so (eg inbound links to that image file), but I don't have an answer for that.

              KaneJamison 1 Reply Last reply Reply Quote 0
              • KaneJamison
                KaneJamison @KaneJamison last edited by

                On a sidenote, if you want to prevent indexation of them you can probably add the URLs in to Robots.txt or disallow a specific folder for those images.

                On the flipside, if you want to get them indexed, you can manually link to the images and submit an image sitemap to google with just those particular images. Doing both is better than just one.

                1 Reply Last reply Reply Quote 0
                • vanGoGh-creative
                  vanGoGh-creative last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • vanGoGh-creative
                    vanGoGh-creative last edited by

                    On my site there is a gallery made by images embedded as background images.

                    Google doesn't see them. 😞

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • What happens if I structurally uploaded two different images under the same name? Will Google penalise me for it?
                      Joe_Stoffel
                      Joe_Stoffel
                      0
                      3
                      51

                    • Images not being indexed by Google
                      hellemans
                      hellemans
                      0
                      5
                      771

                    • Alt-text on all my images or only my contextual images?
                      CommT
                      CommT
                      0
                      6
                      314

                    • Does anyone know a browser extension that could show me the position an image has in Image Search?
                      Cyrus-Shepard
                      Cyrus-Shepard
                      0
                      4
                      150

                    • None of my images are being indexed by google.
                      jasonwdexter
                      jasonwdexter
                      0
                      7
                      399

                    • Google images indexing on no-index html page?
                      wildnis
                      wildnis
                      0
                      4
                      977

                    • How to get video content indexed (incl. example)?
                      KeriMorgret
                      KeriMorgret
                      0
                      2
                      372

                    • Will putting images in a light box or photo gallery affect my image SEO?
                      Getz.pro
                      Getz.pro
                      0
                      2
                      1.1k

                    Get started with Moz Pro!

                    Unlock the power of advanced SEO tools and data-driven insights.

                    Start my free trial
                    Products
                    • Moz Pro
                    • Moz Local
                    • Moz API
                    • Moz Data
                    • STAT
                    • Product Updates
                    Moz Solutions
                    • SMB Solutions
                    • Agency Solutions
                    • Enterprise Solutions
                    • Digital Marketers
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority Checker
                    • Local Citation Checker
                    • MozBar Extension
                    • MozCast
                    Resources
                    • Blog
                    • SEO Learning Center
                    • Help Hub
                    • Beginner's Guide to SEO
                    • How-to Guides
                    • Moz Academy
                    • API Docs
                    About Moz
                    • About
                    • Team
                    • Careers
                    • Contact
                    Why Moz
                    • Case Studies
                    • Testimonials
                    Get Involved
                    • Become an Affiliate
                    • MozCon
                    • Webinars
                    • Practical Marketer Series
                    • MozPod
                    Connect with us

                    Contact the Help team

                    Join our newsletter
                    Moz logo
                    © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                    • Accessibility
                    • Terms of Use
                    • Privacy