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
-
Https lock broken possibly due to absolute http header footer image links.
To make the https lock secure, can I make my website header and footer image URLs to relative? I have read that we need to have absolute URLs for images for good SEO. In our old ecommerce platform we made http image urls for http pages and https image urls for https pages. For our new platform this is not a standard feature and we will have to pay for customizations which we don't have any more budget for that. So will making image URLs relative create any other problems?
Image & Video Optimization | | rbai0 -
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 -
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 | | RMATVMC0 -
What is the SEO value of images of geographic areas (states, counties, cities) on a page?
We want to put images for specific geographic locations on some new pages we are building and I am wondering if: A) What the SEO value of adding these images would be? B) Suggested Sources for the images. Right now we are looking at using panoramio, but would love some MOZ community advice! Thank you for your help MOZ Community!
Image & Video Optimization | | AlyssaN0 -
Images in Wordpress
Wondering how best to utilize the tags for images in Wordpress. I have these fields: Title Alternate Text Caption Description Is it important that I fill all of these fields in? And for these fields - is it best to use hyphens or underscores for SEO? Thanks.
Image & Video Optimization | | bigeyecreative0 -
Text Images
I have created an infographic using easel.ly. I want to upload this to my blog but I'm just concerned whether Google will see it as an image or will it be able to read all the text that is on it. Any thoughts?
Image & Video Optimization | | AAttias0 -
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 come none of my images are being indexed by google.
None of my images are being indexed by google. Here is a link to one of my site gallery pages : http://www.mconcrete.com/gallery/stamped-concrete
Image & Video Optimization | | munoz04510