Resolving broken image issue with Smart Crop in Adobe Experience Manager 6.5 Dynamic Media

This article addresses a problem in Adobe Experience Manager 6.5 Dynamic Media where clicking the Smart Crop button results in a broken image being displayed. The issue is linked to caching behavior at the dispatcher level for specific paths. The article provides a detailed explanation of the problem and outlines steps to modify dispatcher cache rules to resolve the issue effectively.

Description description

Environment

  • Product: Adobe Experience Manager (AEM) 6.5 Dynamic Media - Scene7
  • Environment Type: Managed Services

Issue/Symptoms

When using the Smart Crop functionality in Adobe Experience Manager 6.5 Dynamic Media, clicking the Smart Crop button results in a broken image being displayed. This issue occurs when selecting and opening an asset/image and then choosing the Smart Crop option from the menu. In this case, the Smart Crop URL is:/libs/dam/gui/content/s7dam/smartcrop/smartcropedit.html/content/dam/folder/image.jpeg.  The problem is linked to caching behavior at the dispatcher level for this specific path.

Resolution resolution

To resolve the broken image issue when using the Smart Crop functionality in Adobe Experience Manager 6.5 Dynamic Media, follow these steps:

  1. Review the dispatcher configuration for cache rules that apply to paths associated with Smart Crop functionality.

  2. Add a rule in the dispatcher cache configuration to prevent caching for the affected path:

    code language-none
    {        /glob "/libs/dam/gui/content/s7dam/smartcrop/*"        /type "deny"    }
    

    This rule ensures that content served from /libs/dam/gui/content/s7dam/smartcrop/ is delivered directly without being cached by the dispatcher.

  3. Apply and deploy the updated dispatcher configuration changes across your environment.

  4. Verify that Smart Crop renditions load correctly under all scenarios.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f