keepthatworktoyourself / wombat

Not another website builder. Public repo — raise issues, request features, get help.
2 stars 0 forks source link

Incorrect media upload byte count #365

Open bhallstein opened 7 months ago

bhallstein commented 7 months ago

Media upload 'size' is incorrect for a couple of SVGs uploaded to gw-global.wombat.sh — showing as 1MB, when size is 9kB:

Screenshot 2024-03-01 at 10 32 47

(Items were uploaded via the CLI which may be a factor.)

bhallstein commented 6 months ago

Same for json files

bhallstein commented 2 months ago

This is because upload sets the file size to 1MB, which is resolved in resizable files on the API's resize task. This doesn't run for non-resizable items. Suggest modify the task to resolve this