@cqsapientu69896,
The main difference between image presets and viewer presets in Adobe AEM Dynamic Media is that image presets define the size and format of an image asset, while viewer presets define the way that an image asset is displayed in a viewer.
- Image presets are a collection of sizing and formatting commands that are saved under a name. When you create an image preset, you specify the dimensions, format, and compression settings for the image. You can also specify whether the image should be cropped or resized. Image presets are used to create dynamic renditions of images, which are different versions of the image that are optimized for different devices and screen sizes.
- Viewer presets are a collection of settings that control the way that an image asset is displayed in a viewer. These settings include the zoom behavior, the display size, and the toolbar options. The viewer presets can be applied to any image asset, regardless of whether it has been created using an image preset.
| Feature |
Image Presets |
Viewer Presets |
| What they do |
Define the size and format of an image asset |
Define the way that an image asset is displayed in a viewer
|
| When to use them |
When you need to create different versions of an image for different devices and screen sizes |
When you need to control the way that an image is displayed in a viewer
|
| Scope |
Apply to a specific image asset |
|
Here are some examples to help you understand the difference between image presets and viewer presets in Adobe AEM Dynamic Media:
- Image presets:
- You could create an image preset called "Desktop" that specifies a width of 500 pixels and a height of 300 pixels. This preset would be used to create a dynamic rendition of an image that is optimized for viewing on a desktop computer.
- You could also create an image preset called "Mobile" that specifies a width of 200 pixels and a height of 150 pixels. This preset would be used to create a dynamic rendition of an image that is optimized for viewing on a mobile device.
- Viewer presets:
- You could create a viewer preset called "Zoomable" that allows users to zoom in and out of an image.
- You could also create a viewer preset called "Full Screen" that displays an image in full-screen mode.
HTH