Start by downloading the latest version of spgm from http://spgm.sourceforge.net/?lg=us&id=download. (Chose the version that have an archive ending in .tar.gz)
Upload that archive to your Bubba. Placing it in /home/web.
With a user that has shell access. Log into Bubba via ssh and change to the /home/web folder.
Code: Select all
cd /home/web
Code: Select all
tar zxvf spgm-1.4.7.tar.gz
Code: Select all
mv spgm-1.4.7 spgm
To create a new gallery, add a directory in /home/web/spgm/gal say fx "First test"
Enter the gal directory
Code: Select all
cd spgm/gal
Code: Select all
mkdir First_test
If you now browse to http://bubba/spgm you should see the new gallery without any description nor any pictures.
To add a description of the newly created directory put a text file in the First_test directory named gal-desc.txt with a short description of the new gallery. Reload the browser and it should show the description.
To add pictures to the gallery. Upload any jpg, png or gif file to the First_test directory. And here comes the tricky part. For the image to show. It needs a thumbnail picture int the same directory. It should be named the same name as the original picture but with the prefix _thb_. So if your picture is named pic1.jpg the thumbnail should be named _thb_pic1.jpg
If you then want a description of each image you have to create the file pic-desc.txt in the gallery directory containing one line per image. Looking something like:
Code: Select all
Tux.jpg | This is a caption for Tux's picture.<br />