Projects / curator

curator

Curator is a powerful script that allows one to generate Web page image galleries with the intent of displaying photographic images on the Web, or for a CD-ROM presentation and archiving. It generates static Web pages only - no special configuration or running scripts are required on the server. The script supports many file formats, hierarchical directories, thumbnail generation and update, per-image description file with many fields, and 'tracks' of images spanning multiple directories. The templates consist of HTML with embedded Python. Running this script only requires a recent Python interpreter and the ImageMagick tools.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  21 Sep 2003 03:41

    Release Notes: This version adds PIL support and fixes to make it work under Windows (with the PIL). It includes detailed instructions for Windows users, and upgrades to Python 2.3.

    •  06 Feb 2003 02:20

      Release Notes: Cascading style sheets (CSS) support in default templates.

      •  07 Jan 2003 11:18

        Release Notes: This release adds caching of image sizes for faster testing of Web output, an option to generate output in a separate directory (or under subdirectories of directories), and a major internal code cleanup and simplification. A lot of silly, useless options have been removed.

        •  23 Oct 2001 10:46

          Release Notes: Sorted index and bugfixes added.

          •  07 Sep 2001 03:33

            Release Notes: Global rc file support, misc. functions in the common environment, fixes for bugs with filenames containing spaces, a fix for commandline option confusion, and support for specifying affinity for an image representation.

            Recent comments

            15 Mar 2002 10:18 branch32

            This is one for the toolbox
            I made the mistake of running curator on a large directory with several hundred 1+MB images and found that it took several minutes to discover that the program worked without error.

            The beauty of the tool is that it generates HTML code and it does not require any tools other than a web browser to view the output -- no cgi scripts, no databases, just HTML. This is of interest to me since I wish to post some images on a web site that I have no administrative rights to. It is also good for CD archives, as the author correctly points out, since HTML is a common denominator and should work for a long time to come.

            The problems encounterd by "too raw" look to be the result of using the program with a Python version less than 2.0. I had the same result on my Redhat 7.1 machine even though I had installed Python 2.1.1. The RPM I used for Python 2.1.1 installed Python2 in the /usr/bin directory, but the link between python and python2 had to be created manually.

            The program is fully documented in the script -- simply redirect (curator --help > readme.txt) since it is several pages long.

            I would like to have seen a "curator <source_dir> <dest_dir>" format with an option to resize the original images to a uniform size instead of the "cd <source_dir>; curator" format that was coded, but that is being picky.

            02 Dec 2001 00:06 greenmoss

            Re: This is too raw!

            > Crash boom! I can't be bothered with
            > this!
            >
            > Maybe a few more versions, some docs,
            > a rpm or tar
            > ball and example of how to use it?


            You raise some reasonable questions, but why not try posing them in a more respectful way to the programmer? He would probably be much more receptive to answering your questions and resolving possible future issues if you didn't say things like "I can't be bothered with this".

            29 Oct 2001 20:52 blais

            Re: This is too raw!
            What version do you have?

            Can't you send me an email instead of logging in a comment on the friggin' app.index page?

            Can you try running the interpreter explicitly, perhaps the old python1.5 is still before 2.1 in your path?


            The home page is full of information! Did you at least go there??? YOu know, the link just above in this page?

            There is even a big link to the SOURCEFORGE BUG TRACKING system from the web page, you know, where it says "reporting bugs". Isn't it obvious enough?

            29 Oct 2001 20:10 vegaspctech

            Re: This is too raw!

            >
            > % Hi,
            > %
            > % Found this software sketchy and
            > % couldn't get it to
            > % work!
            >
            >
            > You have one gzipped file to download,
            > then you can cd into your image
            > directory and run the script without
            > arguments and it should do its work.
            >
            > Now, that being said, the web page
            > states clearly that you do need to have
            > Python 2.1.x and ImageMagick. Moreover,
            > using --help you can get a list of all
            > the options that the script takes.


            Assuming it works. It didn't for Mr. McTernan
            and it hasn't yet for me. I have Python 2.1.1
            and ImageMagick 5.2.7 and I get:

            curator --help
            File "/usr/bin/curator", line 216
            from os.path import join as pjoin
            ^
            SyntaxError: invalid syntax


            >
            > I really don't see how simpler I could
            > distribute or program this thing. There
            > is a web page with lots of info.
            > Besides, how could you have found it
            > sketchy if you couldn't figure out how
            > to run it? How am I supposed to support
            > those users who can't figure out how to
            > run a simple ONE-FILE script and go and
            > whine about it on FM? Please log a
            > support request in the SF tracker, and I
            > shall help you there.
            >


            I'm remembering something about flies, honey and
            vinegar. ;-) I might consider logging a request
            in the 'SF tracker' if I knew what the heck it
            is. A readme file wouldn't hurt. Nor would a
            link to whatever is the 'SF tracker.'
            Information is like money. Seldom do people
            complain about having too much.

            13 Sep 2001 16:09 michaelmcternan

            Re: This is too raw!


            >
            > % Hi,
            > %
            > % Found this software sketchy and
            > % couldn't get it to
            > % work!
            >
            >
            > You have one gzipped file to download,
            > then you can cd into your image
            > directory and run the script without
            > arguments and it should do its work.


            Okay, so my browser unzipped it for me adding to
            confusion. But I was then lost (having dialup I needed
            something other than an online page). A README or
            INSTALL would have been good (c'mon it will take like
            3 minutes!).


            Oh, and it didn't work out of the box.


            > Now, that being said, the web page
            > states clearly that you do need to have
            > Python 2.1.x and ImageMagick. Moreover,
            > using --help you can get a list of all
            > the options that the script takes.


            Ahh. I have Python 1.5.2 as came with RedHat 7.1


            > I really don't see how simpler I could
            > distribute or program this thing. There
            > is a web page with lots of info.
            > Besides, how could you have found it
            > sketchy if you couldn't figure out how
            > to run it?


            That is my point. I couldn't figure it out and I couldn't
            find any help without going online again.

            I think I suggested making an RPM before.... It can
            check for dependencies and ensure the system it is
            being installed to is sane and has the correct setup.


            > How am I supposed to support
            > those users who can't figure out how to
            > run a simple ONE-FILE script and go and
            > whine about it on FM? Please log a
            > support request in the SF tracker, and I
            > shall help you there.


            I don't want support. Your project has consumed too
            much of my time/bandwidth.... there are others that
            are better at this point in time.

            My point is that you have to give people more than
            ONE-FILE script, because if it doesn't work, what are
            you left with?

            RE: Whining on FM... what are the comment for then?

            Good luck with future versions.


            >
            >

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.