2

I am working on a website with a lot of pro photos. So I've decided to create 4 different formats for each photo:

*_sm.jpg - thumbnail

when you click on a photo you will get a bigger photo in the special gallery:

*.jpg - 1920 (width) for desktop version.

*_mobile.jpg - 1000 (width) for mobile website. + in the gallery there will be a link to the page with original photo 6000x4000.

By this method I have 4 formats and the user can open the source photo if he needs it.

Should I create a sitemap for images? Which of those have I to include there and which is better to block for index (in htaccess for example).

6
  • are you selling these photos or are they free to download?
    – Abu Nooh
    Nov 17 '15 at 23:34
  • @AbuNooh they are free, thumbnail doesn't have watermark, other format s - does. Nov 18 '15 at 9:55
  • For maximum exposure in image search I would have thought you'd want all 4 sizes indexed, since users can specify the required size in search. (?)
    – MrWhite
    Nov 18 '15 at 11:41
  • @w3d so, logically, I shoud set canonical / alternate urls, to show the main photo and other formats, but I cannot find if it is supported Nov 18 '15 at 20:54
  • Hhhmm, not canonical. And I'm not sure how you'd explicitly specify "alternate" image URLs? Other than naturally linking to them in your source. (Google is able to determine if images are similar.) Personally, I would just make sure they are all linked to and include them in your image sitemap, as Josip suggests.
    – MrWhite
    Nov 18 '15 at 21:35
1

You can use Google image extensions for sitemaps to give Google more information about the images available on your pages. Image sitemap information helps Google discover images that we might not otherwise find (such as images your site reaches with JavaScript code), and allows you to indicate images on your site that you want Google to crawl and index.

You can use a separate sitemap to list images, or you can add image information to an existing sitemap.

1
  • Is there a way to set alternate images (the same one in different format) or I have just to include all of them and that's it..? Nov 18 '15 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.