dFG 3.3.5 - Vlado Plaga's Version - 06.09.2004 / Updated 07.06.2007
This dynamic photo gallery is my extended and adapted version of
Alexander Fieroch's dFG 3.1.2 as it can be found on
http://dfg.fieroch.de/
My most important changes are:
- support of two languages (English and German):
thumbnails.php -> galerie.php
image.php -> bild.php
dfg-admin.php -> dfg-konf.php
Both admin/config scripts are for both languages, I just translated
the explanations and changed language order.
- image titles can be given and displayed on both thumbnails.php and
image.php
- added a function "all image descriptions on one page"
(descriptions.php)
- changed the identification of images, so that names are used instead
of the position in the file system (img=abc.jpg instead of img=2).
- now image.php lets you flip through full size images as well
- changes in dfg-admin.php: I included some of Alex' code from dFG
3.2.1, moved all css formatting to a separate file (you'll have to use
your own text editor, but I think it is more simple and better this
way) and added new fields for quality of resized images and
thumbnails, text before the titles and additional HTML headers.
- Changes from 3.3.3 (pre) to 3.3.4: a pre-load function lets the
browser load the next image in advance, when you use image.php to skip
through the images. New settings: which image to use for the language
choice, and which character coding. Image resolutions are now included
in the HTML code (which fixes a problem with the arrows being in the
wrong position when first loading thumbnails.php).
- New in 3.3.5: now creating valid XHTML (no more empty
etc.).
You might want to use "jpeg_halbieren.sh" or a similar script in order
to reduce the size of your digital photos. On a Debian GNU/Linux system
the necessary programs are in the package libjpeg-progs.
Provided anyone asks for it, and I have enough time, I might translate
more parts of the gallery into English (e.g. give more installation
instructions). Alex provides detailed installation instructions in
German, see file "liesmich_original.txt" and http://dict.leo.org/ .
A short version of the installation instructions:
Upload everything from this archive in a directory (let's call it
"photos", on your web server. The server must support PHP and images,
optionally (the GD library). Without this library you whould have to
create the lower resolution images, my "create_thumbs.sh" can do the job
for you. Then point your web browser to the dfg-admin.php file, allow
the cookie and maybe change a few settings. Create a directory for your
first gallery below the abovementioned "photos" dir, let's call it
"gallery1". Create a directory named "images" in this "gallery1"
directory. Upload your initial images into this "images" directory.
Let's assume "index.html" is the page that loads when you go to your
homepage via "http://my-domain.org/":
/www-server/index.html
Now we should have a directory structure like this for dFG:
/www-server/photos/gallery1/images/
Put your images in the "images" directory. Make sure dFG (the web
server) has write permissions on "photos", "gallery" (and on "images",
if you want to upload, delete or rename photos from dFG).
Now your gallery can be accessed like this:
"http://my-domain.org/photos/thumbnails.php?src=gallery1"
Alex does not (yet) include license terms with his releases of dFG,
except for you not being allowed to remove the copyright box on the
bottom of the pages. Before working on and publishing my modifications I
asked him for permission. Now let me add the following from the GPL, so
you can't blame me if your whole hard disk gets erased or you are made
liable for a crash of your provider's internet server:
NO WARRANTY
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Have fun,
Vlado Plaga
http://vlado-do.de/
|