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
-
Negative SEO with Google Images
We have a client in the heavy equipment industry that is trying to "push down" images in a Google image search that are associated with an accident over ten years ago. This client has launched a new website, and we have applied the best practices of on-page SEO (page titles, unique meta-descriptions, alt-image tags, focused keyword targeting, etc.). The challenge we have is with Google Image results. It seems the image results shown in the Google Image search rankings are often not inline with how images have been labeled in the alt-tag section. I have checked these images with the Moz Chrome extension, and I have often found the way the image is labeled in the alt-tag is not related to the search query made within the Google image search bar. I certainly may not be factoring in other weighted items when it comes to how images are ranked. Are there other ranking factors associated with Google Image results outside of the Alt-Image Tag? If so, what are those factors? Our ultimate goal is to provide a strategy that would allow us to tag images within this specific sector that are relevant to this specific heavy equipment product, and at the same time, "push down" the rankings of the images that have a negative association to them. We certainly want to take the right approach here, and want to earn these rankings. However, the way Google ranks images seems to be a mystery of sorts. Is there a specific strategy relevant to Google Image rankings that would fall inline with the challenge listed above? I appreciate any advice on this topic. Thank you.
Image & Video Optimization | | JaredBroussard0 -
Is it a legal requirement for a website to have alt tags for all images?
Someone told me it is a legal requirement for a website to have alt tags on all of their images. Is this right? Or is this bad for SEO?
Image & Video Optimization | | RachelBev0 -
How can I get around creating multiple Gmail accounts with the same phone number?
You know how, when you setup a Gmail account, Google asks you for a phone number to verify the account? I've run into a problem where Google is not letting me create anymore accounts with the same phone number. I set up an account for every new client we take on so that we have complete control of the inbox for verification purposes. Is there a way to get around this verification issue? We tried an app called Burner Phone but found out Google won't call the number because it's not supported by any major providers (e.g. Verizon, AT&T, etc.). Any suggestions? Thanks for your help!
Image & Video Optimization | | copyjack0 -
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 -
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 -
Google Images in Normal Search
If you search for the term, "Crappie". Listed 4th is a row of images. These kinds of images always seem to grab my attention above the actual search results-- or at least they do for a moment. These images seem to be in order of google images rankings. I may try to take a swing at ranking for these images. Is there anything else I should know before I start? I can't seem to find any guidance on the topic. Thanks
Image & Video Optimization | | terran0 -
SEO for Explicit / Medical Pictures - Will It Hurt Rankings?
I have a client with page 1 rankings for several keywords. He wants to make some updates to his website. He is offering a new service and wants to show before and after photos of the procedure. He is an OB/GYN, so the before/after pictures are very explicit and have full nudity. How will this affect his rankings? Is there something that I can do to tell Google and other SE's that these photos are medical and not pornographic? Should I host them on another domain? Just looking for thoughts and insight. Thank you in advance!
Image & Video Optimization | | itrogers0