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>
Views
Replies
Total Likes
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
Thank you @Aditya_Chabuku the Component level policies are clear now.