You can create an Adobe Experience Manager image component that displays images located in the Adobe CQ Digital Asset Management (DAM) repository by using the Query Builder API. This API requires that you define search parameters, and an optional filter. After you execute the query, the results are stored in a result set. You can display the result set in an Adobe CQ web page. For information, see http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/search/QueryBuilder.html.
The CQ DAM is a digital asset management tool that is fully integrated with the CQ platform and enables your enterprise to share and distribute digital assets. Users across an organization can manage, store, and access images, videos, documents, audio clips, and rich media such as Flash files for use on the web, in print, and for digital distribution. For more information, see CQ Digital Asset Management.
The image component that is created in this development article uses the AEM Query Builder API within JSP application logic. That is, a JSP uses the Query Builder API to retrieve digital assets from the AEM DAM and then displays the images in the web page. In contrast, you can also create a server-side OSGi bundle that uses the Query Builder API to search the Adobe CQ repository. See Creating Adobe CQ OSGi bundles that use the Query Builder API.
The following illustration shows the simple JSP component that is created in this development article.
To read this development article, click: