Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Image policy AEM 6.5

Avatar

Level 7

Hi

I would like to know when will the policy under item0 take into account for images?

 

<image_policy
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/core/components/policy/policy"
jcr:title="Image"
allowUpload="false"
allowedRenditionWidths="[960,720,590]"
cq:styleDefaultClasses="l-content-width">
<jcr:content jcr:primaryType="nt:unstructured"/>
<cq:styleGroups jcr:primaryType="nt:unstructured">
<item0 jcr:primaryType="nt:unstructured">
<cq:styles jcr:primaryType="nt:unstructured">
<item0
cq:styleClasses="l-content-width l-content-width--narrow"
cq:styleId="1603361754179"
cq:styleLabel="Small"
jcr:primaryType="nt:unstructured"/>
</cq:styles>
</item0>
</cq:styleGroups>
</image_policy>

  

2 Replies

Avatar

Community Advisor

Hi @anasustic ,  

 

While using Editable Templates after creating a new template or (updating policies of the old template) there will be an option to create/update a set of policies for each component under that template. Those are called Component level policies & they can be directly used on pages from the style system.

May this video helps you to understand better the style system & policies.

 

 

 

~Aditya.Ch

 

 

Thanks,

Aditya Chabuku