SPECIFICATIONS - DESIGN > IMAGE SETTINGS

IMAGE SETTINGS

[TO BE COMPLETED]

IMAGE GENERATION OPTIONS

Image format

  • Use JPEG.
  • Use PNG only if the base image is in PNG format.
  • Use PNG for all images.
  • Use WEBP only if the base image is in WEBP format.
  • Use WEBP for all images.

JPEG Compression

PNG Compression

Generate images based on one side of the source image

Maximum file size of product customization pictures

Product picture width

Product picture height

Generate high resolution images

Multistore behavior

In a specific shop context or in a group context, the options listed above should have checkboxes except the ones listed below that doesn’t have checkbox and that is disabled with an information message displayed when the user hovers the drop-down: “You can modify this parameter in all shops context only. Switch context to enable it.” (see issue #19356)

In an all shops context, the options listed above should have specific settings drop-down except the ones listed below:

  • Generate images based on one side of the source image
  • Maximum file size of product customization pictures
  • Product picture width
  • Product picture height
  • Generate high resolution images

:point_right: Multistore general specs

:point_right: Multistore special case: fields without checkboxes

REGENERATE THUMBNAILS

Information message

Regenerate thumbnails might be a touchy operation for the user.

In order to emphasize the irreversibility of this action, a yellow warning notification should be displayed before the feature’s two options:

Be careful! Depending on the options selected, former manually uploaded thumbnails might be erased and replaced by automatically generated thumbnails.
Also, regenerating thumbnails for all existing images can take several minutes, please be patient., localized in Admin.Design.Notification

Select an image

[TO BE COMPLETED]

Erase previous images

In order to avoid the user to delete his previous work to by mistake, the switch button should be set to ‘No’ by default.

Also, when clicking on ‘Regenerate thumbnails’, a pop up modal window should display the following message:

title = Regenerate thumbnails in Admin.Actions
confirm_message = Are you sure you want to regenerate thumbnails for the selected images? With the erase option enabled, the previous thumbnails of your selection will be deleted. in Admin.Design.Notification

confirm_button_label = Regenerate in Admin.Actions
close_button_label = Cancel in Admin.Actions

Multistore behavior

The fields listed above don’t have checkboxes and are available in all contexts (all shops, group, single store). Images are regenerated for all shops, no matter the context selected.