adobe / aem-core-wcm-components

Standardized components to build websites with AEM.
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/introduction.html
Apache License 2.0
730 stars 736 forks source link

Enhance Adaptive Image Servlet to support Synthetic Image resources #2602

Open aanchalsikka opened 10 months ago

aanchalsikka commented 10 months ago

Feature Request

Is your feature request related to a problem? Please describe. The imageDelegation used by Teaser component is a good feature which can be used by custom AEM components. But, to use it today, the component needs to extend Image WCM core component. This becomes a problem, when you component already extends an another component. Say I want to extend content fragment component to display Adaptive Image. Since, I need to extend CF component, I can't extend the Image component.

Describe the solution you'd like After using imageDelegation the srcset is created, but the Image rendering fails (404). It would be good if Adaptive Image Servlet could also deal with Synthetic Image Resource. That is we could avoid extending Image component.

Are there alternatives? Extending Adaptive Image component. But, its a challenge when your custom component needs to extend something else.

Documentation The user would be able to render Adaptive images by Syncthetic Image resources.