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.
Dear All,
How can we update image in DAM so that its versioned file can automatically be referenced in the html.
Suppose I have uploaded an Image XYZ.jpg and have given path in html as
Please note, browser cache cannot be disabled at server, its necessary to keep that
¡Resuelto! Ir a solución.
Los temas ayudan a categorizar el contenido de la comunidad e incrementan la posibilidad de encontrar contenido relevante.
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
I dont think this scenario is possible.
Referred Image name should match the name of Image present in DAM.
- Praveen
Vistas
Respuestas
Total de me gusta
You can set caching headers appropriately in apache to invalidate the browser cache after the time to live (max-age) value expires. However, It is not good for page performance to set low TTL values for browser cache.
<LocationMatch "^\.*.(jpeg|jpg)$">
Header set Cache-Control "max-age=222"
Header set Age 0
</LocationMatch>
Vistas
Respuestas
Total de me gusta
You need to write a custom workflow which will update the node where image is authored whenever there is update in dam.
Vistas
Respuestas
Total de me gusta
Hi @NaziyaP ,
In this scenario, you need to go for customised solution.
This cannot be achieved straight forward since image name differs aem stores the copy of image and doesn't replace the same.
<img src=" ${dynamic path}" />
So steps would be,
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
Hi @NaziyaP,
we have One option available OOB, "Move" you can achieve this.
With Move option you can rename the image and it will update the reference as well without any issue but it will ask you to update the location of image, that might not be the case in your scenario.
This will help you to handle the scenario without any code change.
One more ooption you have that is ACS Named Transformed Image Servlet.
Hope this will help.
Umesh Thakur
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas