Answer the question
In order to leave comments, you need to log in
Correct code for Yandex image index?
Good afternoon. In the near future I plan to roll out a site on which there will be a lot of unique photo material. The task is to make it correct (in terms of code) for Yandex pictures.
I read the instructions from Yandex and realized that there are 2 basic rules
1. If the picture is a link, then it is better to indicate the title in the link:
<a href="link.html" title="[текст подсказки]"><img border="0" alt="[альтернативный текст]" src="risunok.jpg" width="[ширина картинки]" height="[высота картинки]"></a>
<div><figure class="uk-overlay uk-overlay-hover"> <a class="jbimage-link jbimage-gallery full_233_905b34d7-6211-4c38-9a43-e9959b7a9be9" title="Наша фотография самая крутая" href="http://ссылка_на_фулл_сайз_фото.jpg" rel="jbimage-gallery-233" target="_blank" id="jbimage-link-57b5c713cdd94" data-size="1200x801"> <img class="jbimage full_233_905b34d7-6211-4c38-9a43-e9959b7a9be9" alt="Тут вы видите нашу фотографию" title="Наша фотография самая крутая" src="http://ссылка_на_привью_фотографии_.jpg" width="190" height="130" data-template="popup" /> </a><div class="uk-overlay-panel uk-overlay-icon uk-overlay-background uk-overlay-fade"> </div>
Answer the question
In order to leave comments, you need to log in
Не знаю как там Яндекс рекомендует, но даже при наличии ссылки, я бы описание оставлял у самого IMG. Это более логично и функционально(если картинка не загрузится).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question