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:
parent
1c35bcb9d1
commit
c1194dadbb
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@
|
|||
:show-primary-button="true"
|
||||
:disabled="isCreating"
|
||||
:allow-camera="true"
|
||||
:compress="true"
|
||||
placeholder="Add product photos"
|
||||
/>
|
||||
<FormMessage />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue