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 -
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 -
Google Places Images
Hi, i recently added a image to google places listing uploaded via the google places dashboard. It was uploaded about 3-4 weeks ago. The image is exactly 1024x1024 in size. I'm not sure whether google is not displaying it because its too big, or because it takes a while for google to start showing images for places listing. I was reading it can take up to 6 weeks. I don't want to have to wait 6 weeks, then find out the reason why the picture wasn't uploaded was because it was too big. Any suggestions on how i can find out which one is the case? Thanks, Matt
Image & Video Optimization | | Mattcarter080 -
Prioritising certain images in search results
I am currently putting together a website for my hobby (collecting cycling jerseys) that I can then use to improve my SEO knowledge. I have tried to optimize the image names so that when somebody searches for a particular item, the image is shown in Google Images. For example; if you type in "ADR jersey" in google; it gives the following image; http://cycling-jersey-collection.com/images/150px/2013-02-07-adr-fangio-ioc-mbk-1987-team-retro-jersey-maillot-trikot.jpg Whereas I want it to prioritize this one; http://cycling-jersey-collection.com/images/2013-02-07-adr-fangio-ioc-mbk-1987-team-retro-jersey-maillot-trikot.jpg The smaller image is used on a "Browse" the collection page whereas the bigger one is just used on the single, specific page. Can anybody offer any up-to-date advice? Thanks! Andy
Image & Video Optimization | | andystorey0 -
When I host my You Tube Videos on my website how do I get remove the ads that You Tube puts in them?
I am looking for some advice regarding You Tube and removing the adverts that are within the videos when I host them on my website. I 'Googled' the answer and all the information that I found was relevant before the latest You Tube update? Many thanks in advance for your help.
Image & Video Optimization | | mblsolutions0 -
Image Duplicates - Does Google Penalize on this?
Hi Mozzers, I have some doubts on the images hosted on my site. I have a single image on the website coming from 3 different locations. The locations are: img.mydomain.com/site/default/serivces.jpg img1.mydomain.com/site/default/serivces.jpg www.mydomain.com/site/default/serivces.jpg Now, these 3 are the same images with the same Title (they currently do not have an Alt Tag). Now, the 2 sub-domains when opened without any internal URL, redirects to the main domain. For instance, if I access img.mydomain.com it 301 redirects to www.mydomain.com but if I access img.mydomain.com/site/default/serivces.jpg I will get the image and it does not redirect. I have checked Google Image search and the full path on the sub-domain of the image is being indexed and crawled by Google Image bot. Now, this is true for both the sub-domains which act as CDN for the images. If Google does crawl all the locations which have the same image, does it cause a duplicate issue for it? I know that if it was content, I would be in trouble but does image also has the same implications. I am planning for image optimization and faced with this situation. Any answers? Cheers,
Image & Video Optimization | | RanjeetP0 -
Will you give me some feedback?
I subscribed to Raven before SEOMoz but I genuinely consider Rand and the rest of you to be the experts. I am learning as I go but I really value your opinions. I just had some fun putting together a website/business promo video. Can I put it on here for legitimate feedback without being accused of spam. I hope so. I'm wondering if the video takes too long to show what it is about, maybe lacks a call to action, or focuses too much on the security. I think very few people realize how safe a secure transaction reslly is so I made a point of explaining that but may have gone overboard. I think it's pretty entertaining but I am terribly critical of everything I do, so I would like some expert unbiased opinions. http://www.youtube.com/watch?v=FSUGPxszmCQ One more thing, what is the best way to promoe a video like this? watch?v=FSUGPxszmCQ
Image & Video Optimization | | berglin0