Use view types to group images according to usage context, for example, by the image's size. You must first define a list of view types in the context of a catalog. When you create a new catalog (via the Business Manager or import), the catalog will automatically contain the following default view types:
viewtype | Description |
---|---|
large | Large images shown on the storefronts product detail page |
medium | Small images shown on the storefronts search result page |
small | Very small images used to hover over to show the related detail image. |
swatch | Images used to differentiate variation products, for example, on the basis of the variation attribute "color" (Swatches are based on variants.) |
You need to know the following about view types:
String
id
, with an optional name.You can establish a relationship between different view types by ordering the view type image stacks. This means that related images must have the same position (index number) within the stack. For example, small for hover help and large for the product detail page, represent the same picture but are sized differently.