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's better for SEO an Optimized Image URL vs Optimized Image File Name?
I would like to know what is best practice for optimizing images for our website. Is it better to give an Image an optimized filename Or an optimized URL for SEO? Or is it better to do both? Would there be any harm in doing both if they are identical in their format? Any help would be greatly appreciated. With thanks, Kate
Image & Video Optimization | | K_borg0 -
Is getting views to an infographic through Imgur beneficial to SEO?
I'm considering posting infographics to Imgur in addition to hosting them on my site in an effort to leverage Reddit a bit more this year. My concern is that, if all goes well, we'll get a ton of views through Reddit to Imgur, maybe a couple clickthroughs to the site, and links to (probably) the Imgur page. I don't see that Imgur gives your profile a followed link, so how would any of this help SEO. I assume it would, because respected guys like John Dougherty espouse the benefits of Reddit, but I can't see how and I need to justify the effort to my department head.
Image & Video Optimization | | MattHolden1 -
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 getting listed on local directories useful for an online web site?
I recently came across Yext. Seems like a convenient service to get listed on local directories. Why I thought this would be useful are the backlinks, not necessary local searches. Are link juice good enough to justify spending the time to get listed? And what about getting listed on BBB.org?
Image & Video Optimization | | huisjames0 -
Local Search Clean up Done. Now Best Way to Index?
I have spent hours doing some local search clean up and have a list of all the URLs to index, about 75. Is there a place I can dump these to get them all indexed quickly or do I have to wait for the hand of Google to come down and bless me with indexing. I don't want to dump all these to Google +, Facebook, or Twitter; that would just be wrong. Any ideas for fast indexing. I want them to all get indexed before the business address changes in a couple years 🙂
Image & Video Optimization | | photoseo10 -
Image SEO in 2013
3.26.13 Everything I can find on image SEO is relatively dated and some that I do don't explain exactly what should be done. 1. When designing a site it is easier to simply integrate best practices from the get go. So what are the best practices? Alt tags - these are to explain the photo for handicapped individuals but you can naturally weave in a good keyword. Image titles - do these matter? URL of the jpg - should we put in a good keyword here? What about schema? What about Meta tags for the page the pic loads on? What about pinning to Pinterest and what is properly pulled over? What about other social channels and sharing? What am I missing? Who out there has the ultimate guide for optimizing images in 2013? Thank you!
Image & Video Optimization | | Hospitality-SEO1 -
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 -
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