A
A
Andrey Solovyev2014-05-19 12:13:19
Google
Andrey Solovyev, 2014-05-19 12:13:19

Googlebot-Image and data-src. How does image indexing work?

Hello.
I have pictures on the page with links to enlarged versions.

<img src="images.jpg" data-src="images_2x.jpg"  alt=""/>

In certain permissions, javascript substitutes the data-src value into src.
Will Googlebot-Image index images_2x.jpg?
If not, how can this be implemented?
I would be grateful for links to articles with an analysis of this issue.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Vorotnev, 2014-05-19
@AndreySolo

At the moment, the 2x image will not be included in the index separately, since it is just an enlarged copy of the main image. Also, now it will not fall into the main size as an additional size, since the bot, although it parses the value of the data-src attribute, does this according to its ideas ( googlewebmastercentral.blogspot.com/2011/06/introd... In general, this practice for responsive images will soon be abolished.Currently, Chrome (and other browsers) are developing an open-source module for implementing responsive images through the picture tag, and it will soon be used for this
purpose.Attributes that really affect indexing are alt and title Read more here: www.quicksprout.com/2012/11/05/image-optimization-...

A
aldous, 2014-11-05
@aldous

Will Googlebot-Image index images_2x.jpg?

Technically, Google crawls everything that has a link. How it works in practice is tested empirically.
For Google, exif and alt matter (if not, the algorithm will take the description from the text). Title is not involved.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question