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?
-
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);"
-
On my site there is a gallery made by images embedded as background images.
Google doesn't see them.
-
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.
-
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.
-
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.
-
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.
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
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 | | RachelBev0 -
Can i use base64 images (URI) for better SEO performance - faster site loading?
Hi, Do you think the use of image data URI is SEO friendly? I got 20 JPG icons on each site, but use too many HTTP requests. So can i use base64 (URI) images for my small icons? Thank you for answer!
Image & Video Optimization | | Termex0 -
My wistia videos are not being index by Google. Does anyone know what can be happening?
I have the wistia site map on my robots.txt file and I also manually submit the site map to google. It shows that my videos were submitted successfully but they are not being indexed. Thanks
Image & Video Optimization | | bedbugsupply0 -
How can I get around creating multiple Gmail accounts with the same phone number?
You know how, when you setup a Gmail account, Google asks you for a phone number to verify the account? I've run into a problem where Google is not letting me create anymore accounts with the same phone number. I set up an account for every new client we take on so that we have complete control of the inbox for verification purposes. Is there a way to get around this verification issue? We tried an app called Burner Phone but found out Google won't call the number because it's not supported by any major providers (e.g. Verizon, AT&T, etc.). Any suggestions? Thanks for your help!
Image & Video Optimization | | copyjack0 -
Metadata stored in images read by search engines?
Does anyone know if metadata stored in images is read by search engines?My company stores images in digital asset management systems and metadata keyword tags are added to the images, so they can easily be found within the system. Since these keywords are stored in the image file, I was wondering if search engines can read them once the image is placed on the website, but I'm not finding any evidence of this in my research.
Image & Video Optimization | | unitedairlines0 -
Google maps displaying wrong image
Hi, I couldn't figure this out, how do i change image that shows up on the right side for maps results, do i change it in my Google places account ?(which i did and and its a first one) or in Google plus, i just cant get it? Thanks for help.
Image & Video Optimization | | Davidmez0 -
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 | | DCochrane0 -
Video SEO - Why are my videos not being indexed?
Hello All, I work on a site that has a lot of videos. The trouble is none of them are ranking. Here is an example of a page with a video on. If you click the play button you will see But none of these videos are being indexed, as you can see here. Is it because these videos are just mp4 files, rather than being embedded players (like SEOmoz use for instance)? Would embedding videos through Viddler / Wistia / Youtube etc help? Or is there some other issue at work here? Any help on this would be greatly appreciated. Thanks, Rich
Image & Video Optimization | | JBGlobalSEO0