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 results Bing vs Google
I have a website with a number of images and I have optimized all of the images on both a file name and ALT text level, relevant to content on the page they are published on. I haven't created a separate image sitemap, but the strange thing is that Google has all of my images indexed and they can be found for the right keywords, but when I look in BING! images, there is no image indexed available at all ...
Image & Video Optimization | | ConclusionDigital0 -
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 -
Local listing services that will do phone verification of ownership
can you please tell me some local listing directory services that will do phone verification instead of sending out the post card?
Image & Video Optimization | | netlover0 -
WordPress image file names SEO question
I’m using a plugin to upload images directly from Adobe Lightroom to WordPress and while the process is very convenient it adds “wpid-“ to the beginning of every image file name, so my “seo-friendly-image-title.jpg” becomes “wpid-seo-friendly-image-title.jpg”. The plugin author claims that it’s a WordPress thing and there isn’t anything he can do about it, yet it doesn’t happen when using the same plugin to upload to the NextGen Gallery Plugin instead of the built in WordPress media manager. I’m not really a fan of NextGen though so I’d rather use the built in WordPress media management. This is obviously an SEO forum not a WordPress troubleshooting forum, but I wanted to give a bit of background. My question is whether that “wpid-” at the beginning of all my image file names is going to cause any sort of SEO issue. If not, I won’t worry about it, but if it does I’ll have to either find another plugin or just go back to exporting from Lightroom to the desktop and then uploading through WordPress. Thanks in advance for any input.
Image & Video Optimization | | StephenWeigel0 -
What is the best way to internally link via images?
What is the best way to internally link via images? I have a website about shoes with all different brands. Let's say I'm trying to rank for "ABC sandals", and on the ABC page I have a "related brands" section with 4 logos of related sandal brands, linking to their respective page. Currently the alt text of the logos is "XYZ Logo" with the link title text "XYZ." Would it be beneficial to have change either the image alt text, or the link title text, or both to "XYZ sandals"?
Image & Video Optimization | | Hakkasan0 -
What impact will Google removing 3rd party citations from listings have on citations being ranking factors?
So now that Google are going to remove 3rd party citations from listings, will they still carry the same weight for local rankings or will this be reduced? If so, how much and when?
Image & Video Optimization | | SteveOllington0 -
Google Images
Hi, I'm setting up a Barcelona guide as a hobby: barcelonacitybreak.com. Naturally I take care to use good alt-tags, checking Google images I see one of the photos I took listed as number one: "hibernian bookstore barcelona". There is no doubt that this is the photo I took myself, but when I place the mouse over the photo the origin is listed as:http://www.auladirectiva.com/. What is even more worrying though is that when I press the image I automatically download this: "Antispy 2011" from http://protectionxpscannermaster.com! Evidently some kind of "anti-virus" program. How is this possible?
Image & Video Optimization | | vibelingo0