Solved
Meaning of the requestAttribute?
<sly data-sly-resource="${item.imagePath @ resourceType='zkb/components/content/image', wcmmode='disabled', requestAttributes=model.breakpoints}"
data-sly-unwrap></sly>
Hi,
Can someone explain how to intreprete the requestAttribute in the template above?
model. breakpoints are evaluated from the model:
private static final Map<String, String> BREAKPOINTS_SIZES = Map.of("small", "300x200", "middle", "400x500", "normal", "600x750", "large", "600x750");
and are a map.