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
-
Questions about optimization for Google Images
Hello all, I've got a few quick questions about optimization for Google Image search. Would be great if someone could help me out with these. Is it possible to track and seperate visitors that reach my website through the images presented in the SERP's? Should we avoid changing high ranking pictures on important keywords? If we need to change the pictures what would the best strategy be? Replace the original filename and alt tag of the picture? Keep the orignal pictures but change the location of the pictures to a new post on our website? Thanks in advance!
Image & Video Optimization | | buiserik0 -
Local listing services that will do phone verification of ownership
can you please tell me some local listing directory services that will do phone verification instead of sending out the post card?
Image & Video Optimization | | netlover0 -
Google Places Images
Hi, i recently added a image to google places listing uploaded via the google places dashboard. It was uploaded about 3-4 weeks ago. The image is exactly 1024x1024 in size. I'm not sure whether google is not displaying it because its too big, or because it takes a while for google to start showing images for places listing. I was reading it can take up to 6 weeks. I don't want to have to wait 6 weeks, then find out the reason why the picture wasn't uploaded was because it was too big. Any suggestions on how i can find out which one is the case? Thanks, Matt
Image & Video Optimization | | Mattcarter080 -
Blocking Google From Accessing Our Images - SEO Impact
We recently discovered that we were blocking Google from crawling our cdn, cdn.yournextshoes.com, where all our images are hosted. Unfortunately this went on for several months, and I wonder if this could explain our horrible SEO performance. Basically, I would like to know if this has impacted just our performance in Google Images (obviously our images have not been picked up by Google Images), or if our regular SEO has been impacted as well.Right now we're just receiving around 13% of our traffic from search, so we're trying to find out why Google does not like us.
Image & Video Optimization | | Jantaro0 -
How Do I Know My Videos Are Indexed?
Hey Mozzers, Ive followed a few tutorials around the web and created a video sitemap and submitted it to GWT. The results were that 7 videos submitted and only 1 indexed. I cant view this information any deeply. However, if I go to videos.googlecom and conduct a site:domain.com, I can actually see that all 7 of my videos appear as results. If I then go back to universal search and search for the exact match title of the video along with site:domain.com, the page appear perfectly but without the Video thumbnail. Are my videos indexed? If yes, why are my thumbnails not showing? Thanks in advance.
Image & Video Optimization | | LukeyJamo0 -
What impact will Google removing 3rd party citations from listings have on citations being ranking factors?
So now that Google are going to remove 3rd party citations from listings, will they still carry the same weight for local rankings or will this be reduced? If so, how much and when?
Image & Video Optimization | | SteveOllington0 -
How do I get google to index review sites for Google Places?
Some of our competitors are ranking higher than we are in google places due to a larger variety of review sites. Google is picking up reviews for them on certain review sites such as yelp.com or projectwedding.com. We have a lot of reviews on those sites also, but google is not picking those reviews up for us. I checked and verified that the phone number and address is exactly correct and has the exact same formatting on all the sites, but google still hasn't picked up those reviews for us. I've waited a couple months now and still nothing. Is there anything I'm missing?
Image & Video Optimization | | DanielLowe0 -
How do I get Google Places to pick up my reviews from other sites?
I have reviews on Yelp, Insiderpages.com, and Citysearch. All of my contact information matches up, but Google does not seem to be finding them and adding them to my Google Places page. Is there anything I need to do to make this happen?
Image & Video Optimization | | vinnyb20000