Serve smaller avatar and logo images for faster page loads

Avatars and logos are now automatically optimized into smaller variants at upload time for snappier UI.

Improvements

When you upload an avatar, organization logo, or branch logo, we now automatically generate optimized 128×128 and 512×512 WebP versions at upload time. The UI uses the right size for each context—compact 128×128 in navigation, larger variants in settings and estimate emails. This means less data transferred to clients and faster page loads.

The optimization works seamlessly:

  • Automatic: Derivatives are generated once and cached for immediate reuse
  • Fallback: SVGs and external URLs (like OAuth profile pictures) display as-is without transformation
  • Background backfill: Existing avatars and logos are optimized automatically in the background

No action required—the improvements are immediate for new uploads and retroactive for existing images.