Disable Rendition so that core image component can use the direct path of the DAM in src | Community
Skip to main content
Level 3
June 13, 2022
Solved

Disable Rendition so that core image component can use the direct path of the DAM in src

  • June 13, 2022
  • 2 replies
  • 1513 views

We are not using renditions and have no plan of using them. Is there a way to configure the image core component or disable renditions so that when it tries to get the src of the image, it can use the direct path from the dam instead of the rendition path?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ShaileshBassi

Hi,

 

The possible solution I could think of right now is 

1. Update the OOTB launcher to restrict the OOTB "Dam Update Asset" to run over the selected folder hierarchy specific to your project.

2. Create a copy of the "Dam Update Asset" and add the condition to skip creating the thumbnails for your hierarchy from the process step, by adding the mimeType you want to skip

 

This way all other steps will be executed, executed the thumbnail generation.

 

Thanks

 

2 replies

SantoshSai
Community Advisor
Community Advisor
June 13, 2022
Santosh Sai
ShaileshBassi
Community Advisor
ShaileshBassiCommunity AdvisorAccepted solution
Community Advisor
June 14, 2022

Hi,

 

The possible solution I could think of right now is 

1. Update the OOTB launcher to restrict the OOTB "Dam Update Asset" to run over the selected folder hierarchy specific to your project.

2. Create a copy of the "Dam Update Asset" and add the condition to skip creating the thumbnails for your hierarchy from the process step, by adding the mimeType you want to skip

 

This way all other steps will be executed, executed the thumbnail generation.

 

Thanks

 

webdev91Author
Level 3
June 14, 2022

Hi @shaileshbassi 

This seems like a possible solution for us as I can set this up for a particular project and not for the entire instance. I am totally new to the AEM so would you please tell me where can I find OOTB Launcher and OOTB "Dam Update Asset"
If it's ok for you, would you please list down the steps to achieve the above?
Thank you in advance.

ShaileshBassi
Community Advisor
Community Advisor
June 15, 2022

Hi,

Navigate to the path as shown below where you will find all the workflow and launchers.

 And under the launchers, you will see multiple entries under the path "http://localhost:4502/libs/cq/workflow/admin/console/content/launchers.html", after you navigate from the above screen.

The screenshot for the lauchers screen is as below, you need to make changes over here.