JCR preview definition
JCR preview definition ensures that a content app can render previews of binary data (e.g. an image) for the JCR nodes of a given data source. It implements the info.magnolia.ui.datasource.PreviewDefinition interface.
| JCR preview definition is part of the Magnolia 6 UI framework. The
fully qualified class name is
 | 
Example definition
datasource:
  $type: jcrDatasource
  workspace: contacts
  preview:
    nodeName: photo
    class: info.magnolia.ui.contentapp.preview.JcrPreviewDefinition
    extension: .pngList of properties
| Property | Description | 
|---|---|
| 
 | required, 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  | 
| 
 | optional, default is
 Preview definition class that reads the configuration properties and can supply additional parameters to the class. Set the value to a fully qualified class name. | 
| 
 | optional, default is  Extension used to deliver the image. | 
| 
 | optional, default is  Name of the image generator that generates thumbnail images. | 
| 
 | optional, default is  Path where the imaging servlet resides. |