Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. Home
    2. SEO Tactics
    3. Image & Video Optimization
    4. Will background images get indexed?

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Will background images get indexed?

    Image & Video Optimization
    6
    7
    21372
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question 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
      • vanGoGh-creative
        vanGoGh-creative Subscriber 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
        • 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
          • 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
            • Dr-Pete
              Dr-Pete Staff 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
              • 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
                • 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
                  • 1 / 1
                  • First post
                    Last post

                  Got a burning SEO question?

                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                  Start my free trial


                  Browse Questions

                  Explore more categories

                  • Moz Tools

                    Chat with the community about the Moz tools.

                  • SEO Tactics

                    Discuss the SEO process with fellow marketers

                  • Community

                    Discuss industry events, jobs, and news!

                  • Digital Marketing

                    Chat about tactics outside of SEO

                  • Research & Trends

                    Dive into research and trends in the search industry.

                  • Support

                    Connect on product support and feature requests.

                  • See all categories

                  Related Questions

                  • ismgadmin

                    Does google index html5 tracks (captions) for videos?

                    If we add the <track> tag next to a html5 video, with a Web Video Text Tracks Format (WebVTT) file for video subtitles / captions will google visit that and index it?

                    Image & Video Optimization | | ismgadmin
                    0
                  • theoHP

                    Why are my blog slideshow images not indexed?

                    I'm managing a design blog hosted on WordPress. Each "design project" article includes a slideshow with additional images (and captions) for the project - these are images and text not found in the article itself. Every slide has the same page path as the article, but a different query param at the end. So if the article is /article the first slide would be /article?slide=1 for example. I'm having two issues: The slideshow images don't seem to be getting indexed. Screaming Frog reports duplicate meta descriptions and title tags for each slideshow page (same meta as article). I want to do what's best overall from an SEO perspective. Having the slideshow images show in Google image search is a must. And having the captions indexed might help too? But I want the Google image results linking to the article and not the individual slideshow pages. And I don't want duplicate meta issues. What's the best thing to do? Submit a sitemap that lists both article and slideshow images? "Rel canonical" the param'd slideshow urls to the base article url (not sure this makes total sense, since slide content is different from the article)? Get rid of slideshow altogether and put images in body? Some combo of these? Hopefully this makes sense. Any thoughts appreciated!

                    Image & Video Optimization | | theoHP
                    0
                  • CostumeD

                    Optimal Image Size for Website

                    What is the recommended size for an image on our website? What is the largest image size we can use without being penalised by Google? Thank you.

                    Image & Video Optimization | | CostumeD
                    0
                  • RachelBev

                    Is it a legal requirement for a website to have alt tags for all images?

                    Someone told me it is a legal requirement for a website to have alt tags on all of their images. Is this right? Or is this bad for SEO?

                    Image & Video Optimization | | RachelBev
                    0
                  • RMATVMC

                    Moving Images to Subdomain: SEO Impacts

                    For sever work- load enhancements we are planning to move our images to a sub-domain. so the files would be located at something like images.domain.com Rather than domain.com/images/ We are a large Ecommerce site so we have a lot of images. These will be self hosted so we are not using a CDN. I'm hoping someone has done the same and if there were any steps they had wished they had taken before making the move/ if they noticed any traffic impacts things like that.

                    Image & Video Optimization | | RMATVMC
                    0
                  • TMI.com

                    Can you get rich snippets for Youtube hosted videos?

                    My website has several videos, mostly product reviews and tutorials. I'd like for these videos to show in the SERPs with rich snippets, but I am hosting them through Youtube. What is your experience with Youtube hosted videos? Do they generate rich snippets? Or will Google always rank the Youtube video over your web page?

                    Image & Video Optimization | | TMI.com
                    1
                  • DCochrane

                    Getting a Google Places listing verified on an automated phone system.

                    I've been having issues getting my Google Places/+ listing verified as we have an automatic phone system. If you call our office you have to dial a number to reach an actual human being or before you can leave a message. Whenever the Google Bot calls we aren't able to receive our Google Place verification code. Currently.. there is no option to send a postcard.. which is weird because for awhile  that was the only option. Has anyone had any success on an automated phone system & how did you do it? Thanks!

                    Image & Video Optimization | | DCochrane
                    0
                  • denarathbun

                    Is a website with no images really a good idea?

                    I have a client who doesn't want to use any images at all on her website.  It's a local hvac service provider.  This thought has never even crossed my mind before. Who wouldn't want pictures?  I know image optimization is important, and my mind keeps telling me that images are important for a good site and good user experience, but are they really necessary?  I want a second opinion before I advise against not using any images.

                    Image & Video Optimization | | denarathbun
                    0

                  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
                  Free SEO Tools
                  • Domain Authority Checker
                  • Link Explorer
                  • Keyword Explorer
                  • Competitive Research
                  • Brand Authority 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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy

                  Looks like your connection to Moz was lost, please wait while we try to reconnect.