Skip to content
Creates a stylish HTML/CSS image gallery from a list of URLs. Typical use case: you scrape the URLs of some images and you want to visualize them.
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
assets
test
.gitignore
README.md
__init__.py
call_as_a_module.py
gallery.py

README.md

Image Gallery

Creates a stylish HTML/CSS image gallery from a list of URLs.

Typical use case: you scrape the URLs of some images and you want to visualize them.

Live demo: here

Blog post: here

Usage

You can launch it directly (see gallery.py) or you can call it from your script as a module (see call_as_a_module.py). Collect the URLs in your script and pass them to the generate function.

Credits

This image gallery is based on another project called gallerize. gallerize works with local image files.

My image gallery works with remote files. My idea is that you have a list of image URLs (that you scraped for instance) and you want to visualize them without downloading them all first.

I reused the stylesheet of gallerize, so big thanks to Jochen Kupperschmidt for his great work.

Something went wrong with that request. Please try again.