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
-
Not using alt tags for decorative images?
Hi everyone, My coworker recently stumbled across this article that instructs you to not to alt text for "decorative images" as you might get penalized you for over optimization https://www.shopify.com/blog/7412852-10-must-know-image-optimization-tips Has anyone heard of this or have any thoughts?
Image & Video Optimization | | AliMac260 -
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 -
Questions about optimization for Google Images
Hello all, I've got a few quick questions about optimization for Google Image search. Would be great if someone could help me out with these. Is it possible to track and seperate visitors that reach my website through the images presented in the SERP's? Should we avoid changing high ranking pictures on important keywords? If we need to change the pictures what would the best strategy be? Replace the original filename and alt tag of the picture? Keep the orignal pictures but change the location of the pictures to a new post on our website? Thanks in advance!
Image & Video Optimization | | buiserik0 -
Best practice SEO for images added via WP
<label class="setting" data-setting="title">Hi</label> When adding an image to a post or page using wordpress I have complete 4 fields: Title
Image & Video Optimization | | Curran
Caption
Alt Text
Description If the image is of an orange campervan in Cornwall, UK then how best would I complete these fields? Can Title and Alt be the same and can Caption and description be the same? Thank you for this! James0 -
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 -
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 -
Getting a Google Places listing verified on an automated phone system.
I've been having issues getting my Google Places/+ listing verified as we have an automatic phone system. If you call our office you have to dial a number to reach an actual human being or before you can leave a message. Whenever the Google Bot calls we aren't able to receive our Google Place verification code. Currently.. there is no option to send a postcard.. which is weird because for awhile that was the only option. Has anyone had any success on an automated phone system & how did you do it? Thanks!
Image & Video Optimization | | DCochrane0 -
Getting reviews to stick on Yelp & Google
Do you have any tricks to getting reviews to stick on yelp? Whenever we ask out customers to review us on there their reviews end up getting "detected" as fakes. I have tried it out myself, and the only way i've gotten them to stick is making several reviews of various different local businesses with average ratings and then dropping one in for the client with a better rating. Perhaps this is a little on the blackhat/greyhat side of things. But if our customers are legitimatly trying to review us and it doesn't stick, i don't feel all that bad taking this route, the only real problem is time consumed. What about google? has anyone had any luck gaining more reviews for their client on google?
Image & Video Optimization | | adriandg0