Can you indicate to Google Images which image it should index from srcset?

Can you indicate to Google Images which image it should index from srcset? - Google Search Console is a free application that allows you to identify, troubleshoot, and resolve any issues that Google may encounter as it crawls and attempts to index your website in search results. If you’re not the most technical person in the world, some of the errors you’re likely to encounter there may leave you scratching your head. We wanted to make it a bit easier, so we put together this handy set of tips about seo, google-search, images, google-image-search to guide you along the way. Read the discuss below, we share some tips to fix the issue about Can you indicate to Google Images which image it should index from srcset?.Problem :


Related Github issue: https://github.com/browniebroke/gatsby-image-gallery/issues/844


So I'm using Gatsby and an image gallery. The gallery generates two images, a thumbnail and the gallery image. The thumbnail is a low resolution file and the gallery image is high resolution.


<img srcset="example-320w.jpg 320w,
example-480w.jpg 480w,
example-800w.jpg 800w"
sizes="(max-width: 320px) 280px,
(max-width: 480px) 440px,
800px"
src="example-800w.jpg" alt="responsive web">

Is there any way to tell google images to skip the low res thumbnail and instead take the gallery image? Or for the sample code above: Is there any way to tell which image google chooses?


Solution :

No, there is no way to request that Google chooses a specific image. Yes, you can predict which one Google will index.


As Trey touched on, Googlebot will always index the image in your src attribute and ignore srcset.


See more information in this related question, where it was empirically tested:

Does Google index images declared using 'srcset'?



Google will use the image in your standard <img src=""> element


If the issue about seo, google-search, images, google-image-search is resolved, there’s a good chance that your content will get indexed and you’ll start to show up in Google search results. This means a greater chance to drive organic search traffic to your site.

Comments

Popular posts from this blog

Is it possible to outrank Google for a search term on their own search engine?

Removing a Website Name in Another Website From Google Index

Do search engines index a rich snippet data from HTML which is not visible?