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
-
All images suddenly deindexed from google sitemap tab.
All my images de-indexed from google as reported in sitemap tab. There are more then 10k+ images that are earlier indexed but suddenly all image are de-indexed. Is that a GWT bug or we have been penalized by google for doing something wrong.Sharing the screenshot. image-deindexed-issue.PNG
Image & Video Optimization | | RaviM0 -
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 -
Video Marketing - Who will host them
Hey guys, I'd like to get going with video marketing and our product best matched with video. I have these things that I am not sure on what direction to take... 1. We have youtube, vimeo and our website. *What goes to what? Or vimeo embedded in website and youtube as is? *A video transcription should be done in the website to help search engines right? *Isnt it duplicate if its in youtube and another one embedded in the site from vimeo? Your thoughts and rationale will be greatly appreciated! Thanks! Jac
Image & Video Optimization | | jacreyes0 -
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 -
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 -
Sat in a York Based Office but I get a Google Lincoln local listing :-(
Buongiorno from 27 degrees C Wetherby UK 🙂 Imagine this scenario... I'm sat in a York Based HQ law office and Google term Langleys and the Local listing is for Lincoln is rendered 😞 The lincoln office is the smaller sister site 75 miles south of where I'm sitting as illustrated here appears (this is wrong) -
Image & Video Optimization | | Nightwing
http://i216.photobucket.com/albums/cc53/zymurgy_bucket/langleys-local-listing-jinxcopy_zps26e3492a.jpg I then do the same thing in a wetherby based office and get the York based local listing appears. So my question is please" what is influencing which local listing is rendered?" Confused,
David0 -
How businesses get local citations without submitting them?
How do some businesses get listed in directories like YellowBook, SuperPages, MerchantCircle, etc. without submitting their information. For example, my dad's company listed themselves in YellowPages and Google Places years ago, but also show up in the ones listed above without having submitted the information to them or having paid anyone else to do it...
Image & Video Optimization | | ChaseCameron0 -
Getting indexed into Google video search
I have a website that has videos hosted from youtube.com embedded onto it. I created and uploaded the videos to youtube and want them on my website. My question is which would be a better option, hosting the video on my website or embed them from youtube? I currently have them embedded onto youtube but when I do a Google video search I cannot find my company's website anywhere. My videos are shown on the results but they are linked to youtube and not my website. Is there a way to get the search results to show listing of the videos posted on my website?
Image & Video Optimization | | Shawn1240