Simple image server

Posted by Joel on Stack Overflow See other posts from Stack Overflow or by Joel
Published on 2010-03-17T15:50:55Z Indexed on 2010/03/17 16:01 UTC
Read the original article Hit count: 377

Filed under:

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).

© Stack Overflow or respective owner

Related posts about images