Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
453 stars 598 forks source link

Accessing the Image component within the Embed component #3411

Closed dcampbell23 closed 3 weeks ago

dcampbell23 commented 1 month ago

Required Information

Expected Behavior

When I add an image dialog to the embed->embeddable component, the image selected should be rendered along with the other properties (HTML attributes) captured in the dialogs (cq:dialog,cq:design_dialogs...).

Actual Behavior

When I add an image dialog to the embed -> embeddable component, the image selected is not rendered but returns a 404 error. The ALT tag information is displayed. Upon inspecting the HTML, the SRC is captured within the image element.

Steps to Reproduce

  1. Update the embed -> embeddable component to include the image dialogs/clientlibs.

  2. Edit a page within AEM -> Sites

  3. Add the embed component

  4. Edit the embed component

  5. Select the embeddable radio button

  6. Select Image from the select field embed-dialog-select

  7. Pick an image from the system embed-dialog-image-selected

  8. If needed, provide an ALT description

  9. Click the Done button

  10. Preview the page: The image does not appear. embed-output-altPNG

HTML embed-output-alt-html

Links

Embed Package embed-package-troubleshoot-1.0.zip

dcampbell23 commented 3 weeks ago

Moved the Moved the ticket to this location: https://github.com/adobe/aem-core-wcm-components/issues/2840