Closed pette87 closed 3 years ago
@pette87
picture
is used for image without breakpoints. For breakpoints, you can use pictureMedia
.
{{craft.images.pictureMedia(hero, transforms)}}
I will redesign functions a bit in the future by the way, so both of these functionalities can be used by single function.
Thanks 👍
Hi,
have following error:
Setting unknown property: craft\models\AssetTransform::(max-width: 600px)