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
-
Right hand side Google Local profile image pulling from 3rd party site
Hello! When googling our company's name, the Google Local profile comes up on the right hand side with the reviews, address, phone number, etc. Those are all fine but the main photo being used is not the one specified in the Google My Business profile but it seems to be pulling from a 3rd party site that recently added a link and an image to our website. Why is this happening and can we specify the image that shows up? Your help will be very much appreciated!!!
Image & Video Optimization | | uniseo10 -
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 -
Https lock broken possibly due to absolute http header footer image links.
To make the https lock secure, can I make my website header and footer image URLs to relative? I have read that we need to have absolute URLs for images for good SEO. In our old ecommerce platform we made http image urls for http pages and https image urls for https pages. For our new platform this is not a standard feature and we will have to pay for customizations which we don't have any more budget for that. So will making image URLs relative create any other problems?
Image & Video Optimization | | rbai0 -
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 -
Sat in a York Based Office but I get a Google Lincoln local listing :-(
Buongiorno from 27 degrees C Wetherby UK 🙂 Imagine this scenario... I'm sat in a York Based HQ law office and Google term Langleys and the Local listing is for Lincoln is rendered 😞 The lincoln office is the smaller sister site 75 miles south of where I'm sitting as illustrated here appears (this is wrong) -
Image & Video Optimization | | Nightwing
http://i216.photobucket.com/albums/cc53/zymurgy_bucket/langleys-local-listing-jinxcopy_zps26e3492a.jpg I then do the same thing in a wetherby based office and get the York based local listing appears. So my question is please" what is influencing which local listing is rendered?" Confused,
David0 -
How to get video content indexed (incl. example)?
Hi, I am currently working with my first client on SEO, and I've been asked (among other things) to help them get their video content indexed by Google. Since this is my first client, and I haven't worked much with videos, I hope I can get some tips. An example of one of their "theme pages" is about studying in Australia. The site is in Norwegian and don't mind the pop-up: http://www.studenttorget.no/australia I would love to get some feedback to what I should do about this page in order to help them get their videos indexed. By the way, they're considering hosting their own videos, and creating a system to keep everything local. Is this a better solution to seo than if the videos are hosting on YouTube/Vimeo or something else? Thanks. Jens P. Berget
Image & Video Optimization | | berget0 -
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 -
How do you bounce back from a loss in image search?
Looking for any help in understanding what I can do to get my images back up in the images index. My site took a hit last month which I've been working to get back up but nothing has seemed to push the needle. Has anyone else experienced such a loss in the image index before? kVTuL.png
Image & Video Optimization | | DotCar0