title: Simple image server
body: <p>I have a bunch of images that I need others to browse via a web browser in pretty much the same way as <a href="http://search.cpan.org/~legart/Apache-Gallery-1.0RC3/lib/Apache/Gallery.pm" rel="noreferrer">Apache-Gallery</a>.</p>
  
  <p>I'd be able to dump all my images in a directory so that users hitting:</p>
  
  <p><a href="http://server:port/directory" rel="noreferrer">http://server:port/directory</a> </p>
  
  <p>would see small thumbnails and selecting an image would load it full size on a page with options to browse the previous or next image.</p>
  
  <p>I'm looking for a non Apache solution, much like the wonderfull Python simple http server, that can be launched anywhere with minimal configuration &amp; fuss e.g.</p>
  
  <pre><code>python -m SimpleHTTPServer 8000
  </code></pre>
  
  <p>In fact, the python solution above is pretty much want I want except it doesn't thumbnail the images but just a simple directory listing.</p>
  
  <p>Happy to use an app written in any common language so long as it is self contained and can run on linux on a custom port (and to re-iterate, not an Apache module).</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I just found a python script called <strong><a href="http://furius.ca/curator/" rel="noreferrer">curator</a></strong> which is simple to run. It generates the required thumbs and static html from any images in the directory you point it at, after which you can use the SimpleHttpServer to vend the results.</p>