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
-
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 -
Optimal Image Size for Website
What is the recommended size for an image on our website? What is the largest image size we can use without being penalised by Google? Thank you.
Image & Video Optimization | | CostumeD0 -
I understand that in addition to video sitemaps, a transcription of a video, if presented properly will help google and may help SEO. I cannot find information on the basics to add transcription properly to a page. Advice or direction appreciated.
Looking for guidance or information on the nuts and bolts of how to use transcriptions with video.
Image & Video Optimization | | hughman0 -
Getting indexed into Google video search
I have a website that has videos hosted from youtube.com embedded onto it. I created and uploaded the videos to youtube and want them on my website. My question is which would be a better option, hosting the video on my website or embed them from youtube? I currently have them embedded onto youtube but when I do a Google video search I cannot find my company's website anywhere. My videos are shown on the results but they are linked to youtube and not my website. Is there a way to get the search results to show listing of the videos posted on my website?
Image & Video Optimization | | Shawn1240 -
Hosting All Content Images On Flickr For Blog - What are SEO implications?
Hi, I am starting a travel blog and thought of the idea of hosting all the content images over at Flickr and just calling them into my blog content when needed. Benefits: push traffic over to my Flickr account pull traffic from Flickr to my blog However, I was just wondering about any SEO implications of having 3-4 links per post pointing to Flickr. Is this spammy? Will I lose my juice? Any thoughts would be appreciated. Thanks.
Image & Video Optimization | | DigitalLeaf0 -
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 -
Will linking to my citation sources help google recognize them / credit my places account?
Or does google treat this behavior the same way as a reciprocal link and discount any credibility of the citation?
Image & Video Optimization | | adriandg0