fix: keep every frame of animated GIF uploads (v2.21.1)

optimize_image() re-saved animated GIFs without save_all=True, so Pillow
wrote only the first frame. Save all frames, and skip resized variants for
animated GIFs (they would be stills; feeds and syndication fall back to the
original).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-28 18:57:08 -07:00
1 parent c87de892cf
commit 18d667db74
5 files changed
+86 -23

No files matched your search

+2 -2
View File
@@ -484,5 +484,5 @@ def create_app(config=None):
# Package version (Semantic Versioning 2.0.0)
# See docs/standards/versioning-strategy.md for details
__version__ = "2.21.0"
__version_info__ = (2, 21, 0)
__version__ = "2.21.1"
__version_info__ = (2, 21, 1)