Images & ALT Attributes

Modified on Mon, 11 May at 1:27 PM


Images


To avoid duplicate images, we recommend using same-size images for products and variants. This way, the plugin recognizes that it is the same image and does not upload it twice. For example, if you use images with the .org size, choose the same size for products and variants.

If you send many images, remember that the first received image becomes the product cover.


ALT Attributes


product_alt: Attributes for product images.

format_alt: Attributes for variant images.

There are two ways to assign alt text for image fields:

  • Create a text-type field with the attributes separated by commas. The attribute order will be the same as the image order.
  • Create a table-type field with a column where each line has the attribute to assign to the image, in order. If that field is sent empty, it is automatically filled with the language and a number for each image. For variants, it includes the reference and a number.

If you have a multi-language PrestaShop, fill this information in all existing languages.


Related Links


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article