Simple image server
http, image, python
Solution
Thanks for the answers and comments. The solution I ended up using was as per my update:
- Run `curator` in the directory containing all my images. This generates thumbs and an index page, as well as pagination to all the full sized images.
- Run "`*python -m SimpleHTTPServer 8000*`" in that directory to browse the resultant html generated by curator
So this is a simple two step process that pretty much satisfies my initial requirements.
Problem
I have a bunch of images that I need others to browse via a web browser in pretty much the same way as Apache-Gallery. I'd be able to dump all my images in a directory so that users hitting: http://server:port/directory 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. I'm looking for a non Apache solution, much like the wonderfull Python simple http server, that can be launched anywhere with minimal configuration & fuss e.g. ``` python -m SimpleHTTPServer 8000 ``` 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. 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). UPDATE I just found a python script called curator 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.