The configuration of the Magick Command Gallery Processor resides under the node at
/hippo:configuration/hippo:frontend/cms/cms-services/magickCommandGalleryProcessorService
.
You can configure which command should be used: Either GraphicsMagick or ImageMagick.
Property Name | Property Type | Description | Example Value | Default Value |
---|---|---|---|---|
magick.image.processor | String | The backend image processing module name. If this is set to "ImageMagick" (case-insensitive), then the plugin will execute command(s) of ImageMagick on the server. Otherwise, it uses GraphicsMagick by default. This value is case-insensitive. | ImageMagick | GraphicsMagick |
All image variants in an image set are created by a Gallery Processor. When an image variant node is added or updated, a Gallery Processor should be told what size to scale the original image to.
Like the default Gallery Processor, there are image variant nodes defined
under /hippo:configuration/hippo:frontend/cms/cms-services/magickCommandGalleryProcessorService
.
And there are two image variant definition nodes by default: hippogallery:original
and hippogallery:thumbnail
.
The former one is for the original image and the latter is for thumbnail image variant.
Each child node may contain the following properties:
Property Name | Property Type | Description | Example Value | Default Value |
---|---|---|---|---|
width | Long | The width of a bounding box in pixels. The original image is scaled such that it fits in this bounding box while maintaining the original aspect ratio. If width is 0 or less, then the image is not scaled at all but the original image is merely copied to the image variant node. | 60 | 0 |
height | Long | The height of a bounding box in pixels. The original image is scaled such that it fits in this bounding box while maintaining the original aspect ratio. If height is 0 or less, then the image is not scaled at all but the original image is merely copied to the image variant node. The default value is 0. | 60 | 0 |