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
-
Image Sitemap - Are You Using One?
We have a lot of nice images and I have been thinking about uploading an image sitemap. If you would care to share your experience with the questions below, I would appreciate hearing what you have learned. Thank you. Have you been using an image sitemap? Do you think that it has brought some benefits to your domain's presence in image search? Did you include thumbnail - size images or only the full size images?
Image & Video Optimization | | EGOL1 -
What happens if I structurally uploaded two different images under the same name? Will Google penalise me for it?
Hi, we are a self storage company (www.boxie24.com) and for every url (500 url's) we use 1 head image containing the keyword of the url, so for instance: https://www.boxie24.com/en-us/self-storage-west-village the main image on top is self-storage-west-village-sm.jpg. It was uploaded months ago. Now we are adding more images between the content. But we call them: self-storage-west-village-sm.jpg as well and self-storage-west-village-boxie24-storage-sm. But for almost every url we have "duplicate image name". Is that bad and should we fix it or is it ok? It are different images though. I noticed it today, the images have the same name
Image & Video Optimization | | Boxie24TEAM0 -
My wistia videos are not being index by Google. Does anyone know what can be happening?
I have the wistia site map on my robots.txt file and I also manually submit the site map to google. It shows that my videos were submitted successfully but they are not being indexed. Thanks
Image & Video Optimization | | bedbugsupply0 -
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 -
How do you get links from a photo pointing to a third party site in Google Places?
How do you get links from a photo pointing to a third party site. I’ve seen a number on other Places accounts but I can't figure out how to do it. They had a picture/logo and the url underneath it (instead of it saying 'from the owner' underneath it), when you clicked the photo it took you to the website instead of just a page with only that photo on it. Please see image as an example. I've highlighted the image links below. Thanks in advance for your help 🙂 i0HxK.jpg
Image & Video Optimization | | HICRM0 -
How much link juice do SVG images pass?
I have been experimenting with SVG images for SEO in the last 7 months. I can definitely get pages indexed using embedded links within SVG images but have not had much success measuring link juice. Have you tried anything along similar lines? How much link juice does an SVG image pass?
Image & Video Optimization | | rmteamseo0