diff --git a/templates/shortcodes/photo.html b/templates/shortcodes/photo.html index a0980a1..3713d38 100644 --- a/templates/shortcodes/photo.html +++ b/templates/shortcodes/photo.html @@ -25,7 +25,7 @@ {% set classes = classes ~ " transition hover:scale-[2]" %} {% if resize is not defined or resize == true %} -{% set image = resize_image(path=src, op='fit_width', width=600) %} +{% set image = resize_image(path=src, op='fit_width', width=600, format='webp') %} {% endif %}