Images & ALT Attributes

Images

 

To avoid duplicated images, we recommend the use of same-size images for products and variants. This way, the plugin will recognize it is the same image and won’t upload twice the same. So, if we have images with the size .org (for example), we should choose the same for products and variants.

If we send many images, we need to consider that the first received image will be the one described as the product cover.

 

ALT Attributes 

 

product_alt: attributes for product images.

format_alt: attributes for variant images.

In order to assign an alt for the field images we have two possibilities:

  • Creating a text-type field with the attributes separated by commas, so the attributes’ order will be the same as the images. 
  • Creating a table-type field with a column where each line has the attribute to assign the image, with the order. If we send that field empty it will be automatically filled with the language and a number for each image. Regarding variants, it includes its reference and a number.

It is good to take into account that in the case of having a multilanguage PrestaShop, it is needed to fill all this information in the existent languages.