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
-
Right hand side Google Local profile image pulling from 3rd party site
Hello! When googling our company's name, the Google Local profile comes up on the right hand side with the reviews, address, phone number, etc. Those are all fine but the main photo being used is not the one specified in the Google My Business profile but it seems to be pulling from a 3rd party site that recently added a link and an image to our website. Why is this happening and can we specify the image that shows up? Your help will be very much appreciated!!!
Image & Video Optimization | | uniseo10 -
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 -
SEO And Images: 2014 Tips
What is a good "image" strategy? All I really know is to make sure to use images that you create yourself and/or images that are approved for free commercial use and add alt tags. Right now, just making sure all our pages have images and updating some of the lower quality ones would surely help us, but I'm hoping someone can add a little detail into how best to use images for seo, conversions and how to avoid slowing our site way down by adding more (we do have the smushit plugin which helps some). Thanks, Ruben Our site is www.kempruge.com
Image & Video Optimization | | KempRugeLawGroup1 -
Alt-text on all my images or only my contextual images?
Hello everybody, I have a question regarding Alt-text. Is it important, regarding SEO, that I add alt-text to all my images, or only on my contextual images? Hope someone can help me.
Image & Video Optimization | | JonathanLinda910 -
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 images : http://www.yourlamode.com/sitemap_images.xml Its been uploaded for more then 5 days
Image & Video Optimization | | spidersite0 -
Google images indexing on no-index html page?
Hi, I wonder if a image can get indexed, included in google images if it is located on a html page with a no-follow tag? Thanks for your help.
Image & Video Optimization | | wildnis0 -
Will putting images in a light box or photo gallery affect my image SEO?
A website that is very image heavy and would like to enhance the user experience with a photo gallery. How will this affect the indexing of these photos? Can I still add alt. tags and title tags to these images?
Image & Video Optimization | | Unidev0 -
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