summaryrefslogtreecommitdiff
path: root/templates/shortcodes/image.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/image.html')
-rw-r--r--templates/shortcodes/image.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/shortcodes/image.html b/templates/shortcodes/image.html
index 8b1a006..9b8124b 100644
--- a/templates/shortcodes/image.html
+++ b/templates/shortcodes/image.html
@@ -11,14 +11,14 @@
{# --- Get optional parameters, with sensible defaults --- #}
{% set lazy = lazy | default(value=true) %}
{% set fetch = fetch | default(value="auto") %}
-{% set quality = quality | default(value=60) %} {# <-- New: Set a default quality #}
+{% set quality = quality | default(value=100) %} {# <-- New: Set a default quality #}
{# --- Let Zola process the image into ALL necessary formats and sizes --- #}
{% set image_meta = get_image_metadata(path=src) %}
{# Create small versions (PNG and WebP) with higher compression #}
-{% set image_small_png = resize_image(path=src, width=383, op="fit_width", quality=quality) %}
-{% set image_small_webp = resize_image(path=src, width=383, op="fit_width", format="webp", quality=quality) %}
+{% set image_small_png = resize_image(path=src, width=575, op="fit_width", quality=quality) %}
+{% set image_small_webp = resize_image(path=src, width=575, op="fit_width", format="webp", quality=quality) %}
{# Create large versions (PNG and WebP) with higher compression #}
{% set image_large_png = resize_image(path=src, width=682, op="fit_width", quality=quality) %}