Define the size of images


#1

Hello

I added an image with (image: 357-50.jpg). I don’t find, how I can define the size of the image. You can use sizes= In html for example.

https://getkirby.com/docs/content/media

Regards

FUSS


#2

You can set the width and height of an image:

(image: myawesomepicture.jpg width: 120 height: 200)

https://getkirby.com/docs/content/text#images


#3

If you want to use the srcset attribute with sizes, you need a plugin, for example, https://github.com/Pascalmh/kirby-responsiveimage


#4

Thank you very much.