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
-
How To: Image Transition Effect on Website
What program would allow an image transition effect where product images when viewed on our website change to alternative angles/shots of the same product when the cursor is on the image? This is a common transition effect of websites such as http://studiominc.com.au/collections/pyramids. Please let us know if you have used programs like these and how to implement this into our website. Thank you!
Image & Video Optimization | | CostumeD0 -
How to best automate batch naming of product images
On an ecommerce website with tens of thousands of products, product image file names are auto generated by your system, and are often just a string of numbers and letters. We optimize our callout images and heroes but I'm questioning if we are missing a big opportunity with our product image names not being optimized. Does anyone have any insight on a smarter way to automate batch naming for thousands of product images?
Image & Video Optimization | | WebLincon0 -
Meta Tags for Images in Multiple Galleries
For a while now we've had an outside SEO consultant as well as having me in-house doing a variety of work. One of the things our consultant would do was writing up optimized alt & title tags for the image galleries on our ecommerce sites. Recently what came up was what to do when a image appears in multiple galleries (e.g. an image of a bedroom could appear in both the bedrooms gallery & the accent wall gallery). We're not sure whether it would be best practices to use the same exact alt & title tags for an image in all the galleries it appears in or whether that would be too much duplication and each gallery should have different tags despite being the same image. None of it is being done in a deceptive manner, we're just been tailoring how we explain the image based on the specific gallery, landing page, etc. Our consultant is saying that an image should always have the same tags across the entirety of the site but I'm more of the mind that varying them by specific page would help images more readily rank for multiple relevant terms. Any advice?
Image & Video Optimization | | MikeRoberts0 -
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 -
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 -
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 -
H1 image
Hi, I was talking to a web consultant today that teaches SEO, he said that an image is ok as an h1 tag as long as it has an alt tag. This is something new to me and something that I've always tried to avoid. Does this now work? Thanks
Image & Video Optimization | | brightonseorob0 -
Image Names
What is the optimal image naming strategy for the following? Should it be A or B or something else? a) disease name-topic name-treatment-studies by age b) diseasename-topicname-treatment-studiesbyage Thank you.
Image & Video Optimization | | Mont0