From c1194dadbbd3f35664ebab3127e547dddc191c66 Mon Sep 17 00:00:00 2001 From: Padreug Date: Wed, 20 May 2026 23:48:48 +0200 Subject: [PATCH] feat(market): client-side compress product image uploads MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pass `:compress="true"` to so the up-to-5 product images get resized to 1920px max edge and re-encoded as WebP before hitting pict-rs. Closes #59 for the market consumer. Default knobs match the events banner use case — both are gallery-scale images. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/modules/market/components/CreateProductDialog.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/market/components/CreateProductDialog.vue b/src/modules/market/components/CreateProductDialog.vue index dd5b505..17d536d 100644 --- a/src/modules/market/components/CreateProductDialog.vue +++ b/src/modules/market/components/CreateProductDialog.vue @@ -136,6 +136,7 @@ :show-primary-button="true" :disabled="isCreating" :allow-camera="true" + :compress="true" placeholder="Add product photos" />