Photogallery FAQ
1 Included-feature
1.1 How do I merge a gallery in another page? How do I use gallery()
feature?
First, set $included variable to 1 and $thisfile="$page.php"
in the configuration file. You create new "gallery"-page, i.e.
somegallery.php, and type there:
-
<?php
$page="somegallery";
require("photogallery.php");
gallery();
?>
Okay, where are the pictures now? If you want to have many galleries,
it's better to make their directories gallery-specific. That is made
by modifyig $picdir variable in the configuration. You just set the
variable $page above, so why not use it? Set $picdir = "pics/$page".
That way, in this case, you have pictures in pics/somegallery/big
and pics/somegallery/thumbnails. Practical, isn't it?
1.2 convert.sh doesn't work. What's wrong?
From convert.sh you could have read it yourself: you need ImageMagick
(http://www.imagemagick.org) for this script in order to work. ImageMagick
does contain an application called convert.
File translated from
TEX
by
TTH,
version 3.40.
On 28 Aug 2003, 17:30.