aem-core-wcm-components icon indicating copy to clipboard operation
aem-core-wcm-components copied to clipboard

[Container] When a user authors Background Image in a container component. Dynamic Media URL is not used rather its using /content/dam path

Open TitusRobyK opened this issue 6 months ago • 2 comments

Feature Request

Is your feature request related to a problem? Please describe. When an author sets a “Background Image” on the Container component, the published markup continues to reference the original /content/dam/... path instead of resolving to the Dynamic Media URL. As a result, authors cannot leverage Dynamic Media features (auto-cropping, responsive breakpoints, etc.) for container backgrounds—AEM always renders the static DAM URL even when a Dynamic Media URL is available.

Image

TitusRobyK avatar Jun 06 '25 17:06 TitusRobyK

This is effectively the same as the long-standing https://github.com/adobe/aem-core-wcm-components/issues/741 - ultimately to fix the Container component needs to be refactored to enable the imageDelegate pattern and reuse the image dialog widget.

HitmanInWis avatar Jul 15 '25 21:07 HitmanInWis

okay @HitmanInWis . We fixed by using Delegation pattern on the Container Component to get the Dynamic Media Url. But i wish its fixed here.

TitusRobyK avatar Jul 24 '25 13:07 TitusRobyK