wezm.net/v2/templates/shortcodes/resize_image.html

3 lines
155 B
HTML
Raw Permalink Normal View History

2021-08-25 23:09:18 +00:00
{% set image = resize_image(path=image, width=width, op="fit_width", quality=quality | default(value=75)) %}
<img src="{{ image.url }}" alt="{{ alt }}" />