Magnolia 5.4 reached end of life on November 15, 2018. This branch is no longer supported, see End-of-life policy.
Node name | Value |
---|---|
my-theme | |
imaging | |
variations | |
small-square | |
class | info.magnolia.templating.imaging.variation.SimpleResizeVariation |
height | 150 |
width | 150 |
crop | true |
thumbnail | |
class | info.magnolia.templating.imaging.variation.SimpleResizeVariation |
height | 200 |
medium | |
class | info.magnolia.templating.imaging.variation.SimpleResizeVariation |
width | 500 |
class | info.magnolia.templating.imaging.VariationAwareImagingSupport |
Properties:
imaging | optional Image variations for the various renditions of an image on the page. |
| required
|
| optional Enables and disables variation support. |
| required Map of image variations. |
| required The name of the variation, a.k.a the rendition name. Choose a name that describes the variation. The name is used in template scripts to reference the variation. Add one node for every variation. |
| required You can use one of the available classes or create a custom one. The available properties depend on the class used for the variation. Any custom class must implement $webResourceManager.requireResource("info.magnolia.sys.confluence.artifact-info-plugin:javadoc-resource-macro-resources")
Variation
.Magnolia Templating Essentials module provides:
|
| Add properties that are supported by the class used. |