Generate HTML slideshows from photos with smooth CSS transitions
Project description
growingupvideo-slideshow
Generate self-contained HTML slideshows from photos with smooth CSS transitions. Zero dependencies.
Perfect for showcasing growing-up photo collections, before-and-after timelines, or any image sequence.
Installation
pip install growingupvideo-slideshow
CLI Usage
growingupvideo-slideshow baby.jpg toddler.jpg teen.jpg adult.jpg -o growing-up.html
Options:
| Flag | Description | Default |
|---|---|---|
-o, --output |
Output HTML file | slideshow.html |
-t, --transition |
fade, slide, or zoom |
fade |
-i, --interval |
Slide interval in ms | 3000 |
-d, --duration |
Transition duration in ms | 800 |
--title |
Page title | Photo Slideshow |
--no-autoplay |
Disable auto-advance | |
--no-controls |
Hide prev/next buttons |
Python API
from growingupvideo_slideshow import generate_slideshow, create_slideshow_file
# Generate HTML string
html = generate_slideshow(
["baby.jpg", "child.jpg", "teen.jpg", "adult.jpg"],
transition="fade",
interval=4000,
title="Growing Up",
)
# Or write directly to file
create_slideshow_file(
["photo1.jpg", "photo2.jpg", "photo3.jpg"],
"my-slideshow.html",
transition="zoom",
interval=3000,
)
Using URLs
html = generate_slideshow(
["https://example.com/photo1.jpg", "https://example.com/photo2.jpg"],
transition="slide",
)
Transitions
- fade — Smooth opacity crossfade
- slide — Horizontal slide with fade
- zoom — Subtle zoom-out reveal
Output
Generates a single self-contained HTML file with:
- Embedded base64 images (for local files) or image URLs
- CSS transitions (no JavaScript animation libraries)
- Keyboard navigation (arrow keys)
- Responsive design
Use Cases
- Growing-up timelines — Baby to adult photo sequences
- Before/after comparisons — Renovation, fitness, makeover
- Event photo recaps — Weddings, birthdays, trips
- Portfolio presentations — Quick image showcase
Want AI-Powered Video Transitions?
This package creates simple HTML slideshows. If you want AI-generated smooth video transitions between your photos (morphing faces, aging effects, cinematic transitions), check out GrowingUpVideo — it uses AI to create videos from your growing-up photos.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file growingupvideo_slideshow-1.0.0-py3-none-any.whl.
File metadata
- Download URL: growingupvideo_slideshow-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88f6a2250ec4f7ca3d8511523d553472c27335c8c8227a8e5ade0386a2446fd1
|
|
| MD5 |
60f8384fc51266b19f80dcf389cebb9e
|
|
| BLAKE2b-256 |
9693c597a512c6e4b6b987527a957e1234583d5b2e7771775b0ed7c6aed1010b
|