photofloat for Debian
---------------------

This package provides the base code for photofloat, but doesn't do
much more. You need to manually create a gallery, using commands like
this:

    mkdir /var/www/photofloat
    cd /var/www/photofloat
    ln -s /usr/share/photofloat/web/*
    mkdir albums cache
    cp ~/cat.jpg albums/
    photofloat albums cache

Repeat the last two commands for every cat you want to show to the
world. Create directories to sort your stuff out.    

Eventually, I want this package to automatically create a first
gallery that is accessible for all users and a cron job that will
refresh it. Ideally, it could also support multiple galleries like
this and have a simple commande to initialize those galleries. Before
I do all this, we should have a better way to create multiple
galleries than this forest of symlinks...

 -- Antoine Beaupré <anarcat@debian.org>, Sun, 26 Jan 2014 16:29:38 -0500

Convenience script for Zenphoto users
-------------------------------------

This package includes a convenience PHP script for users of Zenphoto
who wish to migrate to PhotoFloat and keep the old URLs working.

To use it, copy the examples/redirect.php script found in the package
documentation and place it inside photofloat's web/ directory.

Then replace the rewrite rules in .htaccess with this snippet:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^redirect\.php$ - [L]
    RewriteCond %{QUERY_STRING} _escaped_fragment_=
    RewriteRule . staticrender.php [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /redirect.php [L]

 -- Jérôme Charaoui <jerome@riseup.net>, Fri, 24 Jan 2014 13:01:25 -0500
