A zero-maintenance, high-performance Python script that reads a directory nested with local images sorted by category/year, compresses them into progressive optimized assets, and compiles a fast, fully responsive self-contained static HTML media gallery complete with lightbox viewing.
- Nested Subfolder Aggregation: Turns multiple year directories into elegant categorized grids.
- Smart Rebuild Caching: Leverages file-system timestamps and lightweight local JSON caches to avoid processing unmodified files.
- Auto-Rotation & Transparency Handling: Cleans transparency masks from complex PNG assets and respects standard camera EXIF metadata rotation orientation.
- Multi-Format Interoperability: Ingests standard
.png,.jpglayouts, with complete native.heicpipeline conversion support (common for iOS iPhone images).