Macpherson - Makers of cgi / perl scripts
:: Products

:: Support

:: Purchase

:: About

:: Home

Photo Gallery Manager
Price: $15.00 US Dollars
Version:
1.2
Platform:
Unix / Linux, Win NT / 2000 / XP 

[ Online Demonstration ]
[ Installation ] [ Quick Start Guide ]

Manage multiple Photo Galleries with this easy to use program.

Installation

Step 1:

Upload the following files from the zip file that you received to your cgi-bin directory. Make sure your FTP client is set to ASCII mode.

photogal.pl
show_pic.pl
photogal.lib

CHMOD 'photogal.pl' and 'show_pic.pl' to 755.

Create the directory 'pgdata', and CHMOD it to 777. Next upload the following files to the 'pgdata' folder:

pgdata/config.packed
pgdata/info.packed
pgdata/designtemplates.packed
pgdata/source.htm
pgdata/child.htm

You will need to CHMOD the files in pgdata to 766.

Step 2:

Now open up your favorite web browser and point it photogal.pl or :

http://www.yoursite.com/cgi-bin/photogal.pl

If you do not see 'Photo Gallery Manager' in the top right-hand side of your browser window, then you need to:

Make sure all files were uploaded in ASCII form.
OR
Check your permissions. You may need to CHMOD all of the files in the directory 'pgdata' to 777.

If you do see 'Photo Gallery Manager' in the top right-hand corner of your web browser, then you are right on track.

Click on the button labeled 'Configuration'.  You will be asked for answers to three rows of questions.

Archived Photo Gallery Questions:
The question asked is shown in bold, and hints in regular text.

Archive template page: Enter pgdata/child.htm or the path to the HTML page you would like to use as a template for Archived Photo Galleries.

Enter in the path to publish Archived Photo Galleries:
(Relative Path from photogal.pl)
This is the path to a directory where you would like Archived Photo Galleries published.

In Examples on this page, the folder 'public_html' and 'htdocs' will be called 'public_html'. You will need to reference your web servers directory structure and change your paths as necessary.

Examples:

If your cgi-bin is inside your 'Public_html' folder: Enter the path '../galleries/'. You will then need to create the folder 'galleries' inside the 'public_html' folder.

If your cgi-bin is not inside your 'public_html' or 'htdocs' folder: Enter the path '../public_html/galleries/'  You will also need to create the folder 'galleries' in the 'public_html' folder.

Enter the same path above, but as a URL.
(Full path to Archived Photo Galleries. )

Here you will need to enter the same path as the previous, but as a full URL.

Example: 'http://www.yoursite.com/galleries/'

What extension would you like to use for Archived Photo Gallery Pages ? ( shtml, htm, html, etc ... ).
Archived Photo Gallery Pages can be configured any file extension. Enter only the extension, leave out periods.

Table Questions:

These settings are standard HTML table settings. Personally, I like a border size of '0'.

Misc. Settings

How many columns would you like in each Photo Gallery ?
3 columns is a good choice. You will get an error if this is set to nothing or 0.

What is the Full path to show_pic.pl ?
Enter the path as a FULL URL. Example: http://www.yoursite.com/cgi-bin/show_pic.pl

Where would you like JavaScript code published ? Relative path from photogal.pl Your Photo Galleries will be published as JavaScript code so that you may import them into any page you want. Your response to this question should be in the form of a perl path with the last '/' Example: '../public_html/js/', or '../js/' if your cgi-bin folder is inside your 'public_html' folder.

The path you specify should point to a already existing directory, where the JavaScript source will be placed. You can then import the JavaScript via a single HTML line shown below.

<script language="JavaScript" src="http://www.yoursite.com/js/Office_Employees.js"></script>

Change the code below to point to the directory specified for the JavaScript code. When you add Galleries in the steps below, place the gallery name at the end of the path, remeber to include the extension '.js'.

<script language="JavaScript" src="http://www.yoursite.com/js/.js"></script>

After you have finished answering the above questions, click submit.

Now you need to add Photo Galleries. This is accomplished by clicking "Gallery Toolbar", then "Add a Gallery".   Enter a Gallery Name, and a color to represent records in the Gallery. The color should be in Hexadecimal ( RRGGBB ). Now click 'Submit'. You will see the new Photo Gallery at the bottom of the page. You can now as many Galleries as you want. In Photo Gallery Manager, Galleries are sometimes called 'channels'.

You can organize your photos in PGM by giving each gallery a different color. To change the color of a Gallery, click 'Gallery Toolbar', then 'View Galleries',  Then click the edit button next to the gallery you would like to edit. Change the color to '0000f8'. When the page reloads after your press 'submit' you will notice that the gallery you changed is now shown in bright blue.

When you finish creating Galleries, you can press 'home' to leave the gallery toolbar, and return to the main toolbar.

For futher instructions, view the Quick Start Guide