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
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
-
Does google index html5 tracks (captions) for videos?
If we add the <track> tag next to a html5 video, with a Web Video Text Tracks Format (WebVTT) file for video subtitles / captions will google visit that and index it?
Image & Video Optimization | | ismgadmin0 -
Images robots.txt in Webshop
Hi Guys, i'm considering to prevent Google to crawl all the images on a webshop (3,432), because a the amount of pages that have to me crawled. Will this affect any search results? Thanks!
Image & Video Optimization | | Happy-SEO0 -
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 -
Image SEO - Does having multiple sites using same image help?
I'd assume that if many websites reference the same image on a server that this image would rank higher in image results than a similar image that is only used on 1 website.I have yet to do any testing with this to be certain, but how important does this factor seem to be in regards to image SEO?
Image & Video Optimization | | art-boy0 -
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 -
Alt text in combination with images from another source / url
I have a feed that is parsed on my website. All images do come form another source( and url that differts from my site). However I can change the alt text. I concerns hotel mages worldwide. In order to relate the images with the different language I want to add a small phrase "airport hotel" translated in the laguages that are present on my site Example alt text will be alt="airport hotel: Mercure Schiphol Terminal" or in German alt="Flughafen hotel: Mercure Schiphol Terminal" Will this have a positive effect on my SEO despite the url of the images are not related to my site?
Image & Video Optimization | | fctexel0 -
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