Important

You are browsing upcoming documentation for version 6.0 of OroCommerce, OroCRM, and OroPlatform, scheduled for release in 2024. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Configure Settings for Product Images per Organization 

In the Product Images section of Commerce configuration settings, you can control the way images are previewed on product listing pages and configure whether to use popup or inline view for the image gallery per organization:

  1. Navigate to System > User Management > Organizations in the main menu.

  2. For the necessary organization, hover over the more actions menu to the right of the necessary organization and click to start editing the configuration.

  3. Select Commerce > Products > Product Images in the menu to the left.

    Note

    For faster navigation between the configuration menu sections, use Quick Search.

    ../../../../../../../../../_images/ImagePreviewOrganization.png
  4. Clear the Use System checkbox to change the system-wide setting.

  5. In the General section, configure the following options:

    Enable Original File Names — When enabled, the original image file name will be appended to the system-generated hash value. All non-alphanumeric characters (e.g., “:”, “)”, “,”, “~”) will be replaced with “-” (dash).

    For example, the name of the file is coffee_maker/bosch_#RND123.jpg, the system-generated hash value is “media/cache/attachment/product_gallery_main/5bae287538.jpg”. If the option is enabled, the file name will be displayed in the storefront as follows “media/cache/attachment/product_gallery_main/5bae287538-coffee-maker-bosch-RND123.jpg”

  6. In the Image Gallery Options section, enable or disable the required options.

Enable Image Preview on Product Listing:

  • When Enable Image Preview on Product Listing is enabled, clicking on the product image on the product listing page in the storefront will open a pop up image gallery, rather than the product page.

    ../../../../../../../../../_images/ImagePreviewOrgEnabled.png
  • When Enable Image Preview on Product Listing is disabled, clicking on the product image on the product listing page in the storefront will open the product page.

../../../../../../../../../_images/ImagePreviewOrgDisabled.png

Note

When Use System checkbox is enabled, system settings are applied.

  1. Click Save.