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
-
Indexing images? did something just happen?
did google stop indexing images? we had 563 in sept and now we have 1?
Image & Video Optimization | | bakergraphix_yahoo.com0 -
SEO benefits of terms used in Alt-tag, image name, page title
On our website, we have products that come in different colours, and we have created a different SKU for each one .e.g. our Acacia Evening Dress comes in 3 different colours (black, blue and red) - Acacia Evening Dress Black (J7048BLK), Acacia Evening Dress Blue (J7048RB), Acacia Evening Dress Red (J7048R). Would it be beneficial for SEO if on the image Alt-tag we used the terms 'Jadore J7048 Red Acacia dress', 'Jadore J7048 Black Acacia dress' and 'Jadore J7048 Blue Acacia dress', because 'Acacia' is the internal name we have given to this dress, not the name provided by the label, Jadore, as more customers would search for terms such as 'black dress' or 'Jadore J7048'? Can we use the same terms in the Alt-tag on the image and the page title? How important is the Alt-tag in searching?
Image & Video Optimization | | CostumeD0 -
How to embed a video in our product image
Hi We use bigcommerce and want to add a video to each product . We want to add a video link in the corner of the product image and have the video play when this tab is clicked. Can anyone tell us how to do this Regards
Image & Video Optimization | | CostumeD0 -
How long should the Image Alt Text be for SEO?
When it comes to creating the alternate text for images, what is the character length that I need stay under to rank well?
Image & Video Optimization | | Ytellsocial0 -
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 -
Getting reviews to stick on Yelp & Google
Do you have any tricks to getting reviews to stick on yelp? Whenever we ask out customers to review us on there their reviews end up getting "detected" as fakes. I have tried it out myself, and the only way i've gotten them to stick is making several reviews of various different local businesses with average ratings and then dropping one in for the client with a better rating. Perhaps this is a little on the blackhat/greyhat side of things. But if our customers are legitimatly trying to review us and it doesn't stick, i don't feel all that bad taking this route, the only real problem is time consumed. What about google? has anyone had any luck gaining more reviews for their client on google?
Image & Video Optimization | | adriandg0 -
Will hosted videos be indexed and pulled into search results if a video sitemap is submitted, but the video itself is in an iframe?
We're working with a client to create and submit a video site map. All of their videos are on separate pages, with unique copy, etc. The problem is that the videos may have to be within an iframe. Will this be an issue with regards to being included in video and universal search results? Or will the video site map take care of it? While we're on the topic of video site maps, does anyone know conclusively what the best thumbnail size is? Google has conflicting information, one resource says 160 x 120, and another says 120 x 90. Thanks in advance!
Image & Video Optimization | | RedDoor580