Decision#d1
Catalogue / zulip-2026-image-thumbnailing
Zulip thumbnails uploaded images in background workers with libvips and has clients pick the size and format
Zulip. Image thumbnailing for avatars, emoji, realm logos and file uploads.
Records
Decision#d2
Tell clients the supported thumbnail formats and sizes and let them rewrite the image URL, generating missing variants on demand
Decision#d3
Limit libvips to the fuzz-tested image parsers Zulip expects, because thumbnailing parses untrusted input
Decision#d4
Serve avatars and emoji from permanent public URLs with non-enumerable hashed filenames
Decision#d5
Keep the original emoji and realm logo next to their thumbnails so they can be re-thumbnailed later
Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.