How jsjl29/jspicturestudio works
JSPictureStudio is a static photo portfolio for browsing South African travel and wildlife collections. Visitors enter through the home, road-trip, or Kruger pages, then browse a progressively loaded, filterable gallery, open and share photos, and optionally download selected originals. The current documented runtime uses a generated manifest and responsive WebP variants; service-worker caching supports revisits. The image-generation script is included because it is a core module and produces those runtime assets. Some subsystem links reflect README documentation; unsampled page wiring is not inferred.
Main entry points: gallery.js Gallery runtime · sw.js Cache strategies · photo-manifest.js Photo manifest · generated WebP variants
Components 16
Portfolio pages
- Home page
index.html - Road-trip page
roadTrip.html - Kruger page
Krug.html
Photo browsing
- Gallery runtime
gallery.js - Batch gallery
gallery.js - Theme filters
gallery.js - Photo preview
gallery.js - Photo sharing
gallery.js - Download selection
gallery.js
Photo assets
- Photo manifest
photo-manifest.js - WebP variants
img/generated - Original JPGs
- Image generation
Toolbox/build_images.py
Offline support
- Cache strategies
sw.js - Local cache
Other components
- Visitor
Connections 19
- Visitor → Home page: opens
README.md - Visitor → Road-trip page: opens
README.md - Visitor → Kruger page: opens
README.md - Home page → Gallery runtime: presents
README.md - Road-trip page → Gallery runtime: presents
README.md - Kruger page → Gallery runtime: presents
README.md - Gallery runtime → Photo manifest: reads
README.md - Gallery runtime → Batch gallery: renders
gallery.js - Gallery runtime → Theme filters: applies
gallery.js - Gallery runtime → Photo preview: opens
gallery.js - Gallery runtime → Photo sharing: shares
gallery.js - Gallery runtime → Download selection: downloads
gallery.js - Gallery runtime → WebP variants: loads
README.md - Gallery runtime → Original JPGs: fetches on request
README.md - Image generation → WebP variants: generates
Toolbox/build_images.py - Image generation → Photo manifest: writes
Toolbox/build_images.py - Cache strategies → Local cache: reads/writes
sw.js - Cache strategies → WebP variants: caches
sw.js - Cache strategies → Photo manifest: refreshes
sw.js