What I would like to achieve is the following. Based on the specified dimension and an asset title I would like to find all the asset renditions which correspond to the search criteria.
Currently, I am using the QueryBuilder API as I am not working in Java but it seems impossible that in just one call to the AEM I manage to get the wanted rendition.
What would be the best way for searching the image renditions?
Looking forward to your ideas!
You can do with SQL2 JOIN query:
parentlooks for dam:AssetContent nodes with name=men_5.jpg andchildlooks for nt:file nodes under corresponding asset with nodename=cq5dam.thumbnail.48.48.png