Making a portfolio
I've been practicing photography as a hobby since the time I first purchased a digital camera in early 2003. It was a small Canon PowerShot A70 which, in spite of being an entry-level camera, had some nifty features such as a manual shooting mode. I currently shoot with a Nikon D80; it's an old model that nonetheless still serves me well.
Over the years I've taken tens of thousands of pictures, and I wanted to put some of my favourites online. After trying out a few gallery generators I wrote a script which created a static HTML page. Its main drawback, however, was that it didn't allow navigating between single photos (that is, it wouldn't make a page for each image).
Once ukiyoe was online it was simple to write a script which could readily create
a dynamic gallery (using the template
in the ukiyoe download). This template, however, is quite
limited: it cannot generate thumbnails or retrieve EXIF data, for example.
portfolio.tpl in yokan.zip
provides an enhanced image gallery with many extra features. To wit:
- Generates thumbnails automatically, simply drop the images into a directory.
- Per-image navigation.
- Supports many common image formats: JPEG, PNG, GIF, BMP, TIF, etc.
- Extracts EXIF data if available.
- Allows photo tagging and tag-based filtering.
- Multiple ways to sort dynamically (e.g. name, date, ISO, etc).
- Image captions.
- Automatic histogram generation.
Note that Pillow is required.
Knowing Python makes it very easy to modify the template as needed. If curious my personal portfolio serves as a suitable demo.
Comments(click here to contribute, will open a new tab)
This page has no comments.
up previous next