Wednesday, May 29, 2013

How Thumbnail images are generated by AEM and configuration files to modify the OOTB behavior?

The thumbnail renditions are generated by DAM update workflow when an image is uploaded to DAM. Out of the box, the image(s) shown in content finder has two views.
    1. Mosaic View:  Uses the rendition 100 *140
    2. List View:        Uses the rendition 48*48

The renditions are configured in ContentFinderTab.js which is located at /libs/cq/ui/widgets/source/widgets/wcm/ContentFinderTab.js.

Example screen shot for changing Mosaic view for particular rendition.

To customize Mosaic view for particular rendition, you can do it by overlying ContentFinderTab.js. i.e. Create the ContentFinderTab.js under /apps/cq/ui/widgets/source/widgets/wcm/ and modify it as required.

No comments:

Post a Comment