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
-
How to get images to rank higher, with some new tips?
Hello, Can anybody give any other advice for image optimization except keyword use in file name and alt tag, which would effect the item to be ranking higher on google images, I have searched google on this, but did not find any reallyuseful tips other than those mentioned above... Should I mention my main keywords that I try to rank in as many image files and different pages as possible, but without stuffing and relevant to the content? Thanks a lot
Image & Video Optimization | | bidilover0 -
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 -
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 -
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 -
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 -
Correct image alt-txt length
Hi all, I am new to SEO, and just getting up and running optimising our company's website. We have a lot of images of our products on the website, and I would like to optimise the alt-text. Is there a recommended maximum length for alt-text, as there is for title tags etc? Thanks in advance, Gareth
Image & Video Optimization | | gdavies090319770 -
Will linking to my citation sources help google recognize them / credit my places account?
Or will those sources be discounted by google then similar to how google discounts link exchanges? I have noticed some pages, like mapquest, don't really have a directory, so google might not be aware of their content unless it is linked too??? In this type of a case, would it help to link to mapquest's search results? then the citation will get picked up by google? Example: http://www.mapquest.com/?hk=6-i30tP49i
Image & Video Optimization | | adriandg0 -
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