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
-
Lazy Loading & Image SEO
I wanted to implement lazy loading on my whole domain, but was unsure about the effect on the organic image search. Therefore I implemented it some months ago on 3 selected URLs with medium organic image traffic. Unfortunately all 3 pages dropped significantly (roughly 80%) of image impressions and clicks (seach console data). It seems that just images within the fold, that are not loaded via lazy load are still ranking. Does anybody have here more positive experiences?
Image & Video Optimization | | _Heiko_0 -
Best practice SEO for images added via WP
<label class="setting" data-setting="title">Hi</label> When adding an image to a post or page using wordpress I have complete 4 fields: Title
Image & Video Optimization | | Curran
Caption
Alt Text
Description If the image is of an orange campervan in Cornwall, UK then how best would I complete these fields? Can Title and Alt be the same and can Caption and description be the same? Thank you for this! James0 -
Local listing services that will do phone verification of ownership
can you please tell me some local listing directory services that will do phone verification instead of sending out the post card?
Image & Video Optimization | | netlover0 -
How do I improve positioning in Google Images?
Looking around in Webmaster tools today and I noticed we have hundreds of thousands of impressions in Google Images, but a very low CTR. I understand normal SEO, but what about increasing rank in Google Images? It is hard to get links straight to an image, and we already use proper alt tags. Any other ideas?
Image & Video Optimization | | EcommerceSite0 -
Prioritising certain images in search results
I am currently putting together a website for my hobby (collecting cycling jerseys) that I can then use to improve my SEO knowledge. I have tried to optimize the image names so that when somebody searches for a particular item, the image is shown in Google Images. For example; if you type in "ADR jersey" in google; it gives the following image; http://cycling-jersey-collection.com/images/150px/2013-02-07-adr-fangio-ioc-mbk-1987-team-retro-jersey-maillot-trikot.jpg Whereas I want it to prioritize this one; http://cycling-jersey-collection.com/images/2013-02-07-adr-fangio-ioc-mbk-1987-team-retro-jersey-maillot-trikot.jpg The smaller image is used on a "Browse" the collection page whereas the bigger one is just used on the single, specific page. Can anybody offer any up-to-date advice? Thanks! Andy
Image & Video Optimization | | andystorey0 -
Images in Wordpress
Wondering how best to utilize the tags for images in Wordpress. I have these fields: Title Alternate Text Caption Description Is it important that I fill all of these fields in? And for these fields - is it best to use hyphens or underscores for SEO? Thanks.
Image & Video Optimization | | bigeyecreative0 -
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