Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Hi,
Does dynamic renditions of image gets stored in crxde? Is there anyway to get the dynamic renditions of image via java code instead of viewing it in the frontend of aem.
Thank you
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
You should try ACS commons Named Transform Image Servlet [1] to generate renditions dynamically. The generated renditions will not be saved in CRX, rather you can cache them on dispatcher/CDN/Client browsers.
Vistas
Respuestas
Total de me gusta
Can you please let me know what you mean by dynamic rendition?
If you are just trying to get the renditions of the images stored in crxde that are created via workflow, you can use the below code: https://www.tabnine.com/code/java/methods/com.day.cq.dam.api.Asset/getRenditions
List<Rendition> renditions = asset.getRenditions();
Hope this helps!
Thanks,
Kiran Vedantam.
Vistas
Respuestas
Total de me gusta
Hi @Kiran_Vedantam ,
Dynamic renditions as in image presets for images.
Vistas
Respuestas
Total de me gusta
If you want them to be refered in the BE code, you can try the example that I have shared.
Vistas
Respuestas
Total de me gusta
@keerthana_hn hope are trying to get dynamic rendition urls and display them on your webpage, you can refer to AEM Image Core component implementation class for reference.
1. Check if image synced to scene7
2. If yes formulate base scene7 url and then use preset based on usagecontext <scene7domain>/is/image/accountname/image filename?$imagepresetname$
Vistas
Respuestas
Total de me gusta
You should try ACS commons Named Transform Image Servlet [1] to generate renditions dynamically. The generated renditions will not be saved in CRX, rather you can cache them on dispatcher/CDN/Client browsers.
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas