Imgresize Shortcode
We’ve added a shortcode to simplify image usage. It will resize the image with a maximum width and convert to ‘webp’ format. It will also add a link to the full size image.
Usage:
{{< imgresize <image> <title> <width> >}}
Parameter | Usage | Default |
---|---|---|
image | image file | |
title | Title for image | image |
width | maximum with of image - image will be resized to fit | 400 |
Examples:
{{< imgresize Picture279.png "hello developer" 200 >}}

{{< imgresize Picture279.png "hello developer">}}

{{< imgresize Picture279.png >}}
