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
-
Lazy Loading & Image SEO
I wanted to implement lazy loading on my whole domain, but was unsure about the effect on the organic image search. Therefore I implemented it some months ago on 3 selected URLs with medium organic image traffic. Unfortunately all 3 pages dropped significantly (roughly 80%) of image impressions and clicks (seach console data). It seems that just images within the fold, that are not loaded via lazy load are still ranking. Does anybody have here more positive experiences?
Image & Video Optimization | | _Heiko_0 -
Any Advice for Image SEO?
I have a client who is very concerned about reputation management ... Google his name and some very provocative photos show up in Google Images. There are a couple of semi-famous people who share his name, and my plan is to backlink their images that currently rank positions 50 - 100 to try and push them up. Should I backlink the page that contains the image or the image itself? Any other recommendations?
Image & Video Optimization | | julie-getonthemap1 -
Video Marketing - Who will host them
Hey guys, I'd like to get going with video marketing and our product best matched with video. I have these things that I am not sure on what direction to take... 1. We have youtube, vimeo and our website. *What goes to what? Or vimeo embedded in website and youtube as is? *A video transcription should be done in the website to help search engines right? *Isnt it duplicate if its in youtube and another one embedded in the site from vimeo? Your thoughts and rationale will be greatly appreciated! Thanks! Jac
Image & Video Optimization | | jacreyes0 -
Is getting listed on local directories useful for an online web site?
I recently came across Yext. Seems like a convenient service to get listed on local directories. Why I thought this would be useful are the backlinks, not necessary local searches. Are link juice good enough to justify spending the time to get listed? And what about getting listed on BBB.org?
Image & Video Optimization | | huisjames0 -
If my keyword have Keyword Difficulty Score 50 to 60 , then what kind of link build for get rank?
hello, i have 21 sites , if my keyword have Keyword Difficulty Score 50 to 60 , then what kind of link build for get rank?
Image & Video Optimization | | Brayvez0 -
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 -
SEO & Mass-Renaming of Images: Image Name, Alt Text, etc.
We are currently in the process of changing all of our image names and their alt-tags to be descriptive of their content. For instance, changing image names from image0001.jpg to blue-cell-phone-cover. We have hundreds of images on our site, would it be best to rename all of the images and update their tags in one sweeping change or trickle the changes, uploading changed images every other day or so?
Image & Video Optimization | | Buildings0 -
Getting reviews to stick on Yelp & Google
Do you have any tricks to getting reviews to stick on yelp? Whenever we ask out customers to review us on there their reviews end up getting "detected" as fakes. I have tried it out myself, and the only way i've gotten them to stick is making several reviews of various different local businesses with average ratings and then dropping one in for the client with a better rating. Perhaps this is a little on the blackhat/greyhat side of things. But if our customers are legitimatly trying to review us and it doesn't stick, i don't feel all that bad taking this route, the only real problem is time consumed. What about google? has anyone had any luck gaining more reviews for their client on google?
Image & Video Optimization | | adriandg0