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
-
Negative SEO with Google Images
We have a client in the heavy equipment industry that is trying to "push down" images in a Google image search that are associated with an accident over ten years ago. This client has launched a new website, and we have applied the best practices of on-page SEO (page titles, unique meta-descriptions, alt-image tags, focused keyword targeting, etc.). The challenge we have is with Google Image results. It seems the image results shown in the Google Image search rankings are often not inline with how images have been labeled in the alt-tag section. I have checked these images with the Moz Chrome extension, and I have often found the way the image is labeled in the alt-tag is not related to the search query made within the Google image search bar. I certainly may not be factoring in other weighted items when it comes to how images are ranked. Are there other ranking factors associated with Google Image results outside of the Alt-Image Tag? If so, what are those factors? Our ultimate goal is to provide a strategy that would allow us to tag images within this specific sector that are relevant to this specific heavy equipment product, and at the same time, "push down" the rankings of the images that have a negative association to them. We certainly want to take the right approach here, and want to earn these rankings. However, the way Google ranks images seems to be a mystery of sorts. Is there a specific strategy relevant to Google Image rankings that would fall inline with the challenge listed above? I appreciate any advice on this topic. Thank you.
Image & Video Optimization | | JaredBroussard0 -
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 -
Can you get rich snippets for Youtube hosted videos?
My website has several videos, mostly product reviews and tutorials. I'd like for these videos to show in the SERPs with rich snippets, but I am hosting them through Youtube. What is your experience with Youtube hosted videos? Do they generate rich snippets? Or will Google always rank the Youtube video over your web page?
Image & Video Optimization | | TMI.com1 -
Optimizing Images Already on Website
I am familiar with tools to reduce jpeg images file size etc before uploading to website. After jpeg images are uploaded to a website, what can be done to enhance load speed of these images? Any software to compress images on a website already?
Image & Video Optimization | | khi50 -
Will it help/hinder our local seo by including our local adress on multiple pages?
We have a large website that targets the whole UK. It has landing pages for every town in the UK. For the towns that this particular business has a bricks and mortar hq, we have set up a local/places page. We then added the corresponding places adress to the appropriate town page on the website. This is just a handful compared to the 3,000,000 towns our site aims to rank for. Question: Would it help or hinder our SEO efforts to add the local addresses to other town pages in close proximity to the original? For instance say we have a places address for croydon in London. Would it hurt to add this address to pages that target towns near croydon, such as Mitcham. All opinions greatly appreciated. Cheers!
Image & Video Optimization | | Silkstream0 -
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 for Explicit / Medical Pictures - Will It Hurt Rankings?
I have a client with page 1 rankings for several keywords. He wants to make some updates to his website. He is offering a new service and wants to show before and after photos of the procedure. He is an OB/GYN, so the before/after pictures are very explicit and have full nudity. How will this affect his rankings? Is there something that I can do to tell Google and other SE's that these photos are medical and not pornographic? Should I host them on another domain? Just looking for thoughts and insight. Thank you in advance!
Image & Video Optimization | | itrogers0 -
Will you give me some feedback?
I subscribed to Raven before SEOMoz but I genuinely consider Rand and the rest of you to be the experts. I am learning as I go but I really value your opinions. I just had some fun putting together a website/business promo video. Can I put it on here for legitimate feedback without being accused of spam. I hope so. I'm wondering if the video takes too long to show what it is about, maybe lacks a call to action, or focuses too much on the security. I think very few people realize how safe a secure transaction reslly is so I made a point of explaining that but may have gone overboard. I think it's pretty entertaining but I am terribly critical of everything I do, so I would like some expert unbiased opinions. http://www.youtube.com/watch?v=FSUGPxszmCQ One more thing, what is the best way to promoe a video like this? watch?v=FSUGPxszmCQ
Image & Video Optimization | | berglin0