feat(market): client-side compress product image uploads

Pass `:compress="true"` to <ImageUpload> 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) <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-05-20 23:48:48 +02:00
commit c1194dadbb

View file

@ -136,6 +136,7 @@
:show-primary-button="true"
:disabled="isCreating"
:allow-camera="true"
:compress="true"
placeholder="Add product photos"
/>
<FormMessage />