To add an image to a product, you must perform the following:
NOTE: The primary image of a product must have its Ordinal property set to 0. The other images must have their Ordinal properties set to 1, 2, 3, etc. You can only have one primary image per product. In the code example below, the first image is assigned as the primary one. For more information, see For developers: Change the primary image of a product.
IMPORTANT: Set the Ordinal property of the content link to the same value as the Ordinal property of the product image.
Code example: Add images to a product
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important