Hey community; is there a way to render the images that were put into a textarea via (image: …) ?
I know of
<?= $image->resize(400) ?>, but how is it with
<?= kirbytext() ?> or
<?= blocks() ?>
Resizing on upload is not an option. All images would be resized to the same.
You can overwrite a tag or create custom ones, this should be described in the docs.
If you just want a resize option for Kirbytags, you can either create a new custom tag or override the native image tag (which is usually more useful, because your users wouldn’t have to enter tags manually then).
If that doesn’t matter and you are looking for srcset support as well, check out @bnomei’s srcset plugin: https://github.com/bnomei/kirby3-srcset