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
-
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 -
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 -
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 -
Will Google Places put ranking weight on google reviews instead of 3rd party now?
WIth the visual update to Google Places over the past 2 days do you think that Google reviews will become a higher ranking factor as compared to 3rd party reviews. The research I have done shows that 3rd party reviews seem to correlate better with higher rankings..Any thoughts on what might be coming down the road?
Image & Video Optimization | | NiftyMarketing0 -
Hosting All Content Images On Flickr For Blog - What are SEO implications?
Hi, I am starting a travel blog and thought of the idea of hosting all the content images over at Flickr and just calling them into my blog content when needed. Benefits: push traffic over to my Flickr account pull traffic from Flickr to my blog However, I was just wondering about any SEO implications of having 3-4 links per post pointing to Flickr. Is this spammy? Will I lose my juice? Any thoughts would be appreciated. Thanks.
Image & Video Optimization | | DigitalLeaf0 -
How to get my forum to be listed on Google in the Discussions section?
I'm running several community sites with forums (for example http:// www.finalstitch.co.uk). All of those sites have a forum section like http://http://www.finalstitch.co.uk/forum/ So far Google didn't recognize the forum. When I search for the site and click the Discussions filter on the left, no forum topics from my site show up. What should I do to change that? Thank you. 20110616-gu1beph7p673x1jkgahy1q63r.jpg
Image & Video Optimization | | asmirasro0 -
How much link juice do SVG images pass?
I have been experimenting with SVG images for SEO in the last 7 months. I can definitely get pages indexed using embedded links within SVG images but have not had much success measuring link juice. Have you tried anything along similar lines? How much link juice does an SVG image pass?
Image & Video Optimization | | rmteamseo0 -
How do you bounce back from a loss in image search?
Looking for any help in understanding what I can do to get my images back up in the images index. My site took a hit last month which I've been working to get back up but nothing has seemed to push the needle. Has anyone else experienced such a loss in the image index before? kVTuL.png
Image & Video Optimization | | DotCar0