Ultimo aggiornamento il
May 03, 2021 11:38:44 AM GMT
Sintomi
Come si configura il widget aspectRatios per Smart Image in 5.3?
Risoluzione
Di seguito è riportato un esempio di configurazione del rapporto di forma
. Questo è un nodo sotto il widget xtype di Smart Image
.
<cropConfig jcr:primaryType="nt:unstructured"> <aspectRatios jcr:primaryType="nt:unstructured"> <home_large jcr:primaryType="nt:unstructured" text="Home Large" value="480,173"/> <home_small jcr:primaryType="nt:unstructured" text="Home Small" value="230,173"/> <small jcr:primaryType="nt:unstructured" text="Small" value="313,222"/> <medium jcr:primaryType="nt:unstructured" text="Medium" value="480,222"/> <large jcr:primaryType="nt:unstructured" text="Large" value="646,222"/> </aspectRatios> </cropConfig>
NOTA: In CQ 5.2.x i tipi di nodo di cropConfig
e aspectRatios
erano cq:Widget
. Nel QC 5.3, il tipo di nodo è stato cambiato in nt:unstructured
.
Prodotti interessati:
CQ 5.3
Accedi al tuo account