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 -
Why are my blog slideshow images not indexed?
I'm managing a design blog hosted on WordPress. Each "design project" article includes a slideshow with additional images (and captions) for the project - these are images and text not found in the article itself. Every slide has the same page path as the article, but a different query param at the end. So if the article is /article the first slide would be /article?slide=1 for example. I'm having two issues: The slideshow images don't seem to be getting indexed. Screaming Frog reports duplicate meta descriptions and title tags for each slideshow page (same meta as article). I want to do what's best overall from an SEO perspective. Having the slideshow images show in Google image search is a must. And having the captions indexed might help too? But I want the Google image results linking to the article and not the individual slideshow pages. And I don't want duplicate meta issues. What's the best thing to do? Submit a sitemap that lists both article and slideshow images? "Rel canonical" the param'd slideshow urls to the base article url (not sure this makes total sense, since slide content is different from the article)? Get rid of slideshow altogether and put images in body? Some combo of these? Hopefully this makes sense. Any thoughts appreciated!
Image & Video Optimization | | theoHP0 -
Would you recommend changing image file names retroactively?
We'll be optimizing file names moving forward, but it hasn't been done in the past. I have probably 1,500 that would need to be changed, so want to make sure it's a valuable use of time/worth the effort. 🙂 Also, has anyone used Media File Renamer for wordpress? Seems this would be a good way to rename files without needing to reupload everything. Thanks!
Image & Video Optimization | | jennafrye0 -
How to embed a video in our product image
Hi We use bigcommerce and want to add a video to each product . We want to add a video link in the corner of the product image and have the video play when this tab is clicked. Can anyone tell us how to do this Regards
Image & Video Optimization | | CostumeD0 -
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 -
Getting A Duplicate Listing Removed
I just found a duplicate listing for our business. It's under a different name and address but the phone number is the same. The duplicate listing needs to be deleted, BUT, here's the problem: no one verified the listing (it was our old firm). And now, to delete it, we have to verify it first, but we don't have access to the building to get the letter. Also, we can't ask the current tenants to give us the letter, because it's another law firm and they just aren't going to help us out. So, any ideas? Ruben
Image & Video Optimization | | KempRugeLawGroup0 -
What is the SEO value of images of geographic areas (states, counties, cities) on a page?
We want to put images for specific geographic locations on some new pages we are building and I am wondering if: A) What the SEO value of adding these images would be? B) Suggested Sources for the images. Right now we are looking at using panoramio, but would love some MOZ community advice! Thank you for your help MOZ Community!
Image & Video Optimization | | AlyssaN0 -
Will hosted videos be indexed and pulled into search results if a video sitemap is submitted, but the video itself is in an iframe?
We're working with a client to create and submit a video site map. All of their videos are on separate pages, with unique copy, etc. The problem is that the videos may have to be within an iframe. Will this be an issue with regards to being included in video and universal search results? Or will the video site map take care of it? While we're on the topic of video site maps, does anyone know conclusively what the best thumbnail size is? Google has conflicting information, one resource says 160 x 120, and another says 120 x 90. Thanks in advance!
Image & Video Optimization | | RedDoor580