
qdgal - a quick & dirty PHP photo gallery

I created qdgal for my own personal use, because I needed a dead simple PHP
gallery to show a few photos to family. There is plenty of such gallery
softwares on the internet, but every one that I checked was too complicated,
while I needed something *very* basic. No mandatory authentication, no user
options, no sql database, no crazy php dependencies, and a very simple user
interface that could be used by older people that are not so comfortable with
a computer.
Then I wrote a short php script during a summer afternoon, and qdgal was born.
As time passed, I added a handful of features to qdgal: basic (optional)
authentication, support for video files, custom styles, and more.

How to use it: simply copy the index.php, qdconf.php, qdlang.php and qdgal.css
files to your web server, into a directory where your photos are stored.
That's all. You can optionally edit qdconf.php and/or qdgal.css if you'd like
to customize qdgal to your liking, but that's up to you.

If you'd like to add comments to some of the photos, simply create a text file
with the same base name as the photo (for example 'photo.txt' if the image is
named 'photo.jpg'), its content will be displayed as the photo's comment.

Custom footer: to display a custom footer, create a html file named
"footer.html". qdgal will use it automatically.

Dependencies:
 - PHP 5.3+
 - php-gd (required only if thumbnail support is to be used)
 - exif (optional but highly recommended for correct thumbnails orientation)

homepage: http://qdgal.sourceforge.net

qdgal is published under the simplified 2-clause BSD license. It's free for
anyone to use, modify, and share.

=== Localization support =====================================================

qdgal supports a variety of languages out of the box. There's nothing you need
to do to, qdgal will auto-negotiate the browser's preferred language.
Currently, qdgal supports the following list of languages:
 * English
 * French
 * German
 * Polish
 * Russian

If your language is missing and you'd like to add it, simply add it to the
qdgal.lang file. Let me know about your translation, I'd be happy to add it
into the official qdgal release.

=== License content ==========================================================

Copyright (c) 2016-2023, Mateusz Viste
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

==============================================================================
