I have a "hero" at the template level that is composed of a Container, Image, and Teaser component configured to be styled as a Hero. The content author is expected to set the Image (which is styled a specific way) and only set the Title and Description on the Teaser, but this is causing confusion as the Teaser supports an image as well.
Can I disable this instance of the Teaser from supporting images?
Alternatively- the reason I am using an Image component is because I want the responsive croppings. Can I configure the Teaser to instead use the auto cropping feature that the Image component uses?
Solved! Go to Solution.
Views
Replies
Total Likes
If I understand correctly, the image component should have image policies set for the dynamic cropping via widths I suppose. (If not can you please add more details?)
For teaser what I have seen is for the teaser component (or a component pointing to core teaser) add an imageDelegate property pointing to the image policy that you are using for image component.
Check the /libs core teaser component for details on imageDelegate property and how it is set.
If I understand correctly, the image component should have image policies set for the dynamic cropping via widths I suppose. (If not can you please add more details?)
For teaser what I have seen is for the teaser component (or a component pointing to core teaser) add an imageDelegate property pointing to the image policy that you are using for image component.
Check the /libs core teaser component for details on imageDelegate property and how it is set.