Files
tehran_taj/apps/admin-panel
mahmoodandClaude Haiku 5.5 0b54752b6f fix(uploads): downscale huge-dimension files and give thumbnails a fallback
A flat 8000x8000 PNG can weigh 13 KB, so the byte-size shortcut skipped
compression and every thumbnail render had to decode 64 MP first — on a small
server that outlived nginx's timeout, leaving the card broken until the
variant finished while the original (/uploads) opened fine. Files over 2000 px
on their long side are now converted even when they are small on disk.

ant-design-vue paints the upload tile as <img src=thumbUrl alt=name> with no
error handling, so any failed resize showed the grey box with just the file
name. The tile now falls back to the stored original.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-26 14:16:38 +03:30
..
2026-09-10 12:17:47 +03:30
2026-09-15 17:06:27 +03:30
2026-10-04 17:23:30 +03:30
2026-09-09 06:46:27 +03:30