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

[List] Image policy when displaying items as teasers

Open gabrielwalt opened this issue 4 years ago • 4 comments

When listing the items as teasers, the image policy isn't found.

Possible solution: The virtual teaser image component should have a resource path that inherits from the list component.

(SITES-2047)

gabrielwalt avatar Aug 03 '21 12:08 gabrielwalt

Until we fix it in the Core Components, following work-around may be used:

  1. in AEM, create a policy for the Image component by editing the page template. This creates a template policy at e.g. /conf/core-components-examples/settings/wcm/templates/content-page/policies/jcr:content/root/responsivegrid/core-components-examples/components/image
  2. in CRXDE light, copy the policy node above and paste it below the <template-path>/policies/jcr:content node e.g. /conf/core-components-examples/settings/wcm/templates/content-page/policies/jcr:content and rename it cq:featuredimage This will make sure that the Image policy is picked up for the featured image of the page.

jckautzmann avatar Aug 03 '21 15:08 jckautzmann

@adobe export issue to Jira project SITES as Bug

bpauli avatar Aug 05 '21 13:08 bpauli

:white_check_mark: Jira issue SITES-2129 is successfully created for this GitHub issue.

github-jira-sync-bot avatar Aug 05 '21 13:08 github-jira-sync-bot

Is this still being worked on?

JasonUSC avatar Feb 16 '25 17:02 JasonUSC