8

I am looking for a (command line) tool (preferably in Python) which generates a static picture gallery website from a folder of images.

The generated webpage should show along the photo the caption and description from the EXIF tags of the image. I assume the tool of choice would have output templates which can show caption and description of photos.

Additionally it would be great if the tool had a web theme with so called "responsive design", so that the generated web pages work well on smart phones, too.

First I found Sigal, but it doesn't do captions with the standard themes. Then I came across Nikola galleries and Pelican-gallery plugin, but I don't know whether they show the EXIF captions - and how well they perform.

So advice on these or other tools to achieve what I want is much appreciated!

  • You could always use ImageMagik to automatically add captions to copies of the pictures. – Steve Barnes Aug 31 '14 at 11:04
  • @SteveBarnes How I understand the question, he already have the captions in the EXIF tags, and need show them in the html page... – jm666 Sep 1 '14 at 19:20
  • @jm666 ImageMagik can also extract the EXIF tags. – Steve Barnes Sep 1 '14 at 19:25
  • From the docs of Sigal: Sigal comes with two themes, based on the colorbox and galleria Javascript libraries. The galleria demo is responsive - try resize your browser. – jm666 Sep 1 '14 at 19:26
  • @jm666 Main requirement is to show the image captions from EXIF tags, the galleria demo doesn't display captions. – waldalla Sep 3 '14 at 4:32
2

From the Python wiki here is a list of static site generators, since they are all Python based they should be scriptable and you can extract the Exif data using ImageMagick or the Python ExifRead library:

  • Blogofile - (Mako, Jinja2)-based generator with supports for (reStructuredText, Markdown, Textile), Git, Disqus, RSS feeds, plugins, and S3, very nice license with human touch.
  • Clay - Jinja2 for easy site prototyping, MIT.
  • Complexity - A refreshingly simple static site generator, for those who like to work in HTML.
  • Crotal - (Jinja2)-A static site generator written in Python, using Jinja2 template engine, BSD
  • Cyrax - poetic Jinja2 engine, used for osgameclones.
  • Hyde - Jinja2-based static web site generator, MIT, source
  • Mynt - Static website generator based on Markdown and Jinja2. BSD-3.
  • Nikola - Generator supporting reST, Markdown, IPyNB et al.; using Mako and Jinja2 for templates; supports multilingual sites, galleries, RSS feeds, DISQUS et al. for comments. Incremental builds. MIT license.
  • Obraz - Static blog-aware site generator mostly compatible with Jekyll, MIT
  • Poole - static website generator, Markdown. GPL.
  • Pelican - Uses Markdown or ReST for content and Jinja 2 for themes. Supports DVCS, Disqus. AGPL.
  • PubTal - Templating#SimpleTAL-based static site generator, BSD-3
  • rest2web - Generates Websites from ReST contents, BSD
  • Sphinx - Python's official documentation system that turns ReST into HTML, LaTeX, man pages, plaintext, and has many features for making site trees, inter-linking, and other documentation necessities (Jinja2 as default template engine). BSD.
  • staticninja - MIT, Jinja2, auto-compile. That simple.
  • tahchee - Cheetah-based static web site generator
  • Tinkerer - blogging engine/static website generator powered by Sphinx with polite-correct license list.
  • Urubu - A micro CMS for static websites, with a focus on good navigation practices. AGPL.
  • wok - MIT licensed, Jinja2, Markdown, reST, etc.
  • 1
    I am not interested in a general list of static site generators - rather a tool which creates picture galleries with image captions. I guess I am looking for something where the templates have the capability to show the captions...Will clarify this in the question! – waldalla Sep 3 '14 at 4:39
  • @waldalla - any of those listed can with do that with minimal scripting - the unusual bit of your request is for the captions to be generated/extracted from the EXIF rather than being input into a text file. – Steve Barnes Sep 3 '14 at 6:04
  • Advice on details of the scripting would be much appreciated... – waldalla Sep 4 '14 at 7:28
0

This is not Python based. It is windows based but I used it in my business for years to generate various sized photos. The $15 program is called Smaller Animals ThumnbNailer. It is command line, has a HTML templating system. Not sure on the exif part of your question though...

  • from destination link: "Smaller Animals Software is out of business." – matt wilkie Aug 4 '16 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.