Composum Assets

The Composum asset management provides tools to configure and prepare responsive images for the content management. Please note that this is work in progress.

The 'Assets' Composum module is set up as a package which extends the Composum Console UI.

With this extension a new 'cpa:Asset' node type and a set of configuration node types and mixing types are installed. The module provides the configuration of image variations and renditions based on only one uploaded image original (one high quality image source for various renditions). An Image Asset created by the Asset Manager is a node with the node type 'cpa:Asset'. This node contains at least one original image and must have a configuration folder parent node (manageable with the Asset Manager) with the parameters to build the renditions according to the sites design rules. The renditions are build on demand and stored (cached) as subnodes of the asset node.



If such an Image Asset is requested by a browser the AdaptiveImageServlet is delivering the image data of the selected rendition. The servlet fills the responses with the content of the rendition determined by the Sling selectors in the requests URL. If the rendition image is not already present, the servlet generates the rendition image from the original image as specified in the corresponding configuration (the next parent folder of the Image Asset with an 'assetconfig' content element of type 'cpa:AssetConfiguration').