{if isset($saved) && $saved}
[`Settings updated`]
{/if}

[`Product images`]

[`Thumbnails`]
[`Thumbnails to be created when image is uploaded`]
{if !empty($settings.image_sizes)}
    {foreach $settings.image_sizes as $set_type => $sizes_set} {foreach $sizes_set as $key => $size_item}
  • {foreach $size_item as $type => $size} {if $type == 'crop'} [`Square crop`]: {$size}x{$size} [`px`] {else if $type == 'max'} [`Max`] ( [`Width`], [`Height`] ) = {$size} [`px`] {else if $type == 'width'} [`Width`] = {$size} [`px`], [`Height`] = [`auto`] {else if $type == 'height'} [`Width`] = [`auto`], [`Height`] = {$size} [`px`] {else if $type == 'rectangle'} [`Width`] = {$size[0]} [`px`], [`Height`] = {$size[1]} [`px`] {/if} {/foreach} {if $set_type == 'custom'} [`delete`] {/if}
  • {/foreach} {/foreach}
{/if}
[`Custom-sized thumbnails`]
[`Max thumbnail size`]
[`px`]
[`Limits the maximum thumbnail size that can be created on demand. Must be no less than 970 px.`]
[`Sharpen`]
[`Thumbnail quality`]

[`JPEG compression quality for photo thumbnails. From 0 (min quality, min file size) to 100 (max quality, max file size). 90 is recommended.`]
[`Originals`]
[`Originals`]

[`When enabled, every uploaded image file is automatically backed up and stored independently from image full size version, which is modified when you edit it, e.g. rotate, apply watermarks or image visual effects. Originals are never updated. Pros: you have backups of all uploaded images. Cons: almost twice more disk space is required for storing original images than for storing only full size versions and thumbnails.`]
@2x
[`@2x image thumbnail generation`]

[`Enabling this option will allow automatic creation of image thumbnails on-fly for devices with high pixel density displays, e.g. Retina displays. Generating bigger images require more memory resources for image generation, requires more disk space for storing images, but significantly improves user experience on devices with high-end displays`]
[`Thumbnail quality @2x`]

[`JPEG compression quality for photo thumbnails. From 0 (min quality, min file size) to 100 (max quality, max file size). 70 is recommended.`]

[`Re-generate all product image thumbnails`]
[`Re-generating all public product image thumbnails allows you to save some disk space on server and to optimize images after thumbnail generation settings such as sharpening and JPEG compression quality were changed. Depending on the number of products, the entire process may take from few seconds to few minutes or even hours for very large product databases.`]
{$wa->csrf()}
{* dialogs section *}

[`Re-generate product image thumbnails`]

[`This will start the process of deleting all existing product thumbnails and re-generating them from fullsize versions according to latest thumbnail generation settings such as sharpening and JPEG compression quality. Depending on the number of products, re-generation may take some time to complete and may free some disk space on your server.`]

[`While thumbnails are re-generated, your storefront visitors should see no difference in your storefront functioning, and there should be no broken images, because new thumbnails are created by Webasyst automatically upon user request. However, since creating new thumbnails consume server resources, your server may experience above-average load while new thumbnails are created. The overload depends on the number of requests on thumbnails generation, i.e. on your storefront traffic. It is recommended to perform thumbnail re-generation when your storefront traffic is at its lowest.`]

{$wa->csrf()} [`or`] [`cancel`]