Image provider definition - 5 UI
Deprecated
Image provider definition has been deprecated since Magnolia 6.0. It is part of the Magnolia 5 UI framework. For the updated implementation, see Preview definition for Magnolia 6 UI instead. |
What is an image provider
Image provider is a component that renders images used in apps. It generates the portrait image at the bottom of the action bar and the thumbnails for the thumbnail view.
Here is an example image provider definition that uses default classes.
imageProvider:
class: info.magnolia.ui.imageprovider.definition.ConfiguredImageProviderDefinition
imageProviderClass: info.magnolia.ui.imageprovider.DefaultImageProvider
originalImageNodeName: jcr:content
Property | Description |
---|---|
|
required Image provider definition class that reads the configuration properties
and can supply additional parameters to the image provider class. The
definition class must implement the
|
|
required Actual implementation that generates thumbnail images. The class must
implement the |
|
optional, default is Extension used to deliver the image. |
|
optional, default is Path where the imaging servlet resides. |
|
optional, default is Name of the JCR node where the original source image is stored. For
example, if a file upload field on a form stores the image in a node
named Here are the default image generator configurations that
|