From 7405e22a139997f33a39295f6fd61e5b4577ff44 Mon Sep 17 00:00:00 2001 From: "shopify-dev-docs-sync[bot]" Date: Fri, 21 Aug 2026 03:20:34 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Sync=20Liquid=20Docs=20Schema?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/filters.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/data/filters.json b/data/filters.json index 33139c2..8a6402f 100644 --- a/data/filters.json +++ b/data/filters.json @@ -5438,6 +5438,15 @@ "string" ] }, + { + "description": "The image quality, from 10 to 90.", + "name": "quality", + "positional": false, + "required": false, + "types": [ + "number" + ] + }, { "description": "The desired image width, in pixels.", "name": "width", @@ -5525,6 +5534,16 @@ "parameter": true, "display_type": "text", "show_data_tab": true + }, + { + "name": "quality", + "description": "Specify the image quality using an integer from `10` to `90`. Lower values can reduce file size, but they also reduce visual quality. If you omit `quality`, then Shopify selects the quality automatically based on the output format and encoding. Omitting `quality` isn't equivalent to setting it to `100`. The `image_url` filter doesn't guarantee byte-identical output, even when the requested dimensions match the source image, because Shopify's CDN might re-encode the image or negotiate a different output format.\n", + "syntax": "variable | image_url: quality: number", + "path": "/products/health-potion", + "raw_liquid": "{{ product | image_url: width: 450, quality: 80 }}", + "parameter": true, + "display_type": "text", + "show_data_tab": true } ], "summary": "Returns the [CDN URL](/themes/best-practices/performance/platform#shopify-cdn) for an image.",