Howto install xibit on an already working werc installation

  1. Choose your origin for install, there should be a tarball ready-to-use in the downloads dirctory.
    • you can also check out the code with git from git://9souldier.org/xibit
  2. Configure xibit: in the directory where you want the gallery, create a directory _werc/xibit that is writable by the webserver, and an _werc/config file, the stuff to put in config is in the README file in the distribution.
  3. The minimum is to add the following lines to _werc/config:

    • conf_enable_xibit
    • thumbsize='x64'
    • previewsize='x460'
    • fmts=(jpg gif png svg)

    Of course, these should be personalized to your preferences.

Should be done..the first time it starts xibit will generate all the images for you, this may take a while, after that only new images will be thumbnailed.

Be careful, as for now xibit doesn't detect file changes, so if you replace a file, you'll have to manually remove the _werc/xibit/thumbs/ and _werc/xibit/previews/ files, so xibit regenerate them.

(suggestions always welcome, my contact info is always at contact