Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add info.magnolia.templating.imaging javadoc macros
Advanced Tables - Table Plus
heading0
multiplefalse
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
Node nameValue

Mgnl n
my-theme

 

Mgnl n
imaging

 


Mgnl n
variations

 


Mgnl n
small-square

 


Mgnl p
class

info.magnolia.templating.imaging.variation.SimpleResizeVariation

Mgnl p
height

150

Mgnl p
width

150

Mgnl p
crop 

true

Mgnl n
thumbnail

 


Mgnl p
class

info.magnolia.templating.imaging.variation.SimpleResizeVariation

Mgnl p
height

200

Mgnl n
medium

 


Mgnl p
class

info.magnolia.templating.imaging.variation.SimpleResizeVariation

Mgnl p
width

500

Mgnl p
class

info.magnolia.templating.imaging.VariationAwareImagingSupport

Properties:

imaging

optional

Image variations for the various renditions of an image on the page.

class

required

Javadoc resource link
rangeHigherVersion1.1
className

VariationAwareImagingSupport (Git)

info.magnolia.templating.imaging.VariationAwareImagingSupport
renderTypeasynchronous
provides support for variations.

enabled

optional

Enables and disables variation support.

variations

required

Map of image variations.

<variation‑name>

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.

class

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 

Javadoc

0

-resource-link-macro
rangeHigherVersion3.3
classNameinfo.magnolia.imaging.variation.Variation
renderTypeasynchronous
.

Magnolia Templating Essentials module provides:

  • Javadoc resource link
    rangeHigherVersion1.1
    className
SimpleResizeVariation (Git)
  • info.magnolia.templating.imaging.SimpleResizeVariation
    renderTypeasynchronous
    that resizes images to a defined size in pixels (see below for available properties).
ImageOperationProvidingVariation (Git)
  • Javadoc resource link
    rangeHigherVersion1.1
    classNameinfo.magnolia.templating.imaging.ImageOperationProvidingVariation
    renderTypeasynchronous
    that allows you to create your own image operation chain using the mte image generator.

<properties>

Add properties that are supported by the class used.