Images

Modified on Mon, 11 May at 1:24 PM

Magento allows different image sizes. By default, if you link images in the Sales Layer image field, the first image will be assigned to all sizes in Magento.

If you want to assign different images to different sizes, you can fill the Image roles field with a table, using a value similar to this example:



The image name must be unique and contain the image name, case-sensitive, plus the extension. The image role must be the Magento attribute code. It can contain multiple values separated by commas, additional image roles, and it can be the role of an image not assigned in an additional image field.

Rows that do not have valid image names or have empty values, including roles, will be avoided. If any main roles are not assigned, they will be transferred to the first image of the Sales Layer image field.

Images will be ordered in the same way the image names are set in the Sales Layer field, separated by commas. If you need to change the position of an image, cut and paste the name plus extension into a different position.

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