FAQs - lat9/sitemapxml GitHub Wiki

1. Why are 'large' images included in my products' sitemaps?

As reported in this GitHub issue, the default location for a product's image is in the /images/large directory. You can control this location by creating a .php file in your storefront /includes/extra_datafiles directory containing:

<?php
zen_define_default('SITEMAPXML_PRODUCTS_IMAGES_SIZE', 'small');  //- Accepted values 'small', 'medium', 'large' (default)

When the value is set to 'small', the image is located in /images.