Image Zoom

Note: Spartacus 4.x is no longer maintained. Please upgrade to the latest version.

Note: Spartacus 4.x was tested with SAP Commerce Cloud versions 1905 to 2205. Spartacus 4.x has not been verified to work with (and is not guaranteed to work with) SAP Commerce Cloud 2211 or later releases.

Note: This feature is introduced with version 4.2 of the Spartacus libraries.

The image zoom feature allows you to display larger versions of the images on the product details page. When you click on the main image, an image zoom dialog appears and the mouse pointer turns into a magnifying glass. When you click the mouse again, an enlarged version of the image appears, and you can hover your mouse over the image and move it around to “zoom in” and focus on different areas of the image.

For more information, see Managing Media in the SAP Commerce Product Cockpit on the SAP Help Portal.


The image zoom feature requires SAP Commerce Cloud 2011 or newer.

Enabling Image Zoom

Image zoom is enabled by default in version 4.2 and newer of the Spartacus libraries.


No special extensibility is available for this feature.