mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
A new table is created to track which path_id attachments are images, and for those their metadata, and which thumbnails have been created. Using path_id as the effective primary key lets us ignore if the attachment is archived or not, saving some foreign key messes. A new worker is added to observe events when rows are added to this table, and to generate and store thumbnails for those images in differing sizes and formats. |
||
|---|---|---|
| .. | ||
| actually-a-bmp.png | ||
| animated_img.gif | ||
| animated_large_img.gif | ||
| animated_unequal_img.gif | ||
| bomb.png | ||
| cmyk.jpg | ||
| corrupt.gif | ||
| corrupt.png | ||
| gif_resized.png | ||
| img.bmp | ||
| img.gif | ||
| img.jpg | ||
| img.png | ||
| img.svg | ||
| img.tif | ||
| jpg_resized.png | ||
| png_resized.png | ||
| still_large_img.gif | ||
| text.txt | ||
| tif_resized.png | ||
| truncated.gif | ||
| unsupported.bmp | ||