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
-
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 -
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 -
Image ALt Tag in Sliders and Modules (Banner) in Joomla/Wordpress
Is it possible to do SEO for images in Sliders and Banner modules in Joomla? I would like to add ALT tags and Titles for those, if possible.
Image & Video Optimization | | ArthurRadtke0 -
Alt-text on all my images or only my contextual images?
Hello everybody, I have a question regarding Alt-text. Is it important, regarding SEO, that I add alt-text to all my images, or only on my contextual images? Hope someone can help me.
Image & Video Optimization | | JonathanLinda910 -
Why Google doesn't want to show our images?
Our website http://www.fiberscope.net has a good positions in search for the most of important keywords, but for some reason store's images are not visible in search results. All images have ALT attributes but represented in Google Images very poor. Any ideas and suggestions regarding this issue?
Image & Video Optimization | | Meditinc.com0 -
Google Knowledge Graph - change bio image
I have a client who is a well known personality in a particular niche that I've done some general event and design work for, but he hasn't had interest in SEO or social help until this point. He is very displeased by the image that was chosen for his Google Knowledge Graph result when you search his name. The issue isn't due to a poor photo, but rather due to the site it links through to. Google has chosen to use a bio image for his Knowledge Graph result which links to an "anti-" site. This site is opposed to the organization he leads. If you click on the image, it sends you to an image result page backed by an article which is full of misinformation and overall negativity about this individual. The source is also listed under the image on the Knowledge Graph result, a source he doesn't believe deserves any publicity, especially in conjunction with his name. So, what best practices might you suggest should be employed to go about getting Google to choose a replacement image for his Knowledge Base bio? Optimize his own bio page and bio image on his website? Get an image on his Wikipedia page? Create a G+ page with the bio image? Integrate the rel author syntax into his articles pointing back to his bio page? He doesn't want this to become a public matter, so he's against posting the issue to Google's Help Boards or reporting it in a public fashion. I'm not sure what should be the best first steps and top priorities for him and am hoping the SEOmoz team is starting to see some trends with Knowledge Graph. Let me know your thoughts when you can. Thanks so much! iLqNW iLqNW.png
Image & Video Optimization | | windturbines2 -
SEO & Mass-Renaming of Images: Image Name, Alt Text, etc.
We are currently in the process of changing all of our image names and their alt-tags to be descriptive of their content. For instance, changing image names from image0001.jpg to blue-cell-phone-cover. We have hundreds of images on our site, would it be best to rename all of the images and update their tags in one sweeping change or trickle the changes, uploading changed images every other day or so?
Image & Video Optimization | | Buildings0