Setting thumbnail with KirbyText (image:)

If I use (image:) with KirbyText is there a way to specify which thumbnail configuration to use? Or should I just move that (image:) tag into the template and use ->thumb().


The default image tag doesn’t use thumbs at all. You can either create your own custom image tag with srcset support or use an existing plugin.

If you want to keep using the image tag, you better overwrite the original tag.

Hmm, I’m thinking that I’ll extend the image tag to include a srcset: option. I like the way srcset functions.

Yep, you can use this plugin as a basis for your own implementation:

The plugin uses another tag name which I find unfortunate, because you cannot add it via the textarea buttons (that’s why I suggested to override the original tag).