Installation of RLAJ.COM's Photo Gallery Program


Uploading the Files and Folders


Follow the directory structure in the archive and upload all the files 
to your server.

After uploading you should have the following sturcture for the scripts:

	/cgi-bin
		photogallery
			/config
			/data
			/lib
			
After uploading you should have the following sturcture for the main folder:

	/photogallery
		/admin
		/images
		/lib
		/pgmimages
		/templates
		




Setting File Permissions
Windows Help   Unix Help

  Chmod the /cgi-bin/photogallery/config/config.txt to:   666 or rw-rw-rw
  Chmod the /cgi-bin/photogallery/config/gallery-options.txt to:   666 or rw-rw-rw
  Chmod the /cgi-bin/photogallery/data/data.txt to:   666 or rw-rw-rw
  Chmod the /cgi-bin/photogallery/data/data-backup.txt to:   666 or rw-rw-rw
  Chmod the /cgi-bin/photogallery/admin.pl to:   755 or rwx-rx-rx
  Chmod the /cgi-bin/photogallery/index.pl to:   755 or rwx-rx-rx
  Chmod the /cgi-bin/photogallery/pg-start.pl to:   755 or rwx-rx-rx
  Chmod the /cgi-bin/photogallery/Setup.pl to:   755 or rwx-rx-rx
 
  Chmod the /photogallery/images folder to:   777 or rwx-rwx-rwx


Running the Setup Program


http://www.YourServer.com/cgi-bin/photogallery/Setup.pl

With your browser, type in the address to the /cgi-bin/photogallery/Setup.pl
for your server.

You will be asked a short series of questions, Admin Username and Password,
paths to files and folders, web addresses and Admin email address, etc.
Also, information about where your files and folders are on your server.
 
Much of this is automated, some of the information YOU must provide for 
the specific instance on your server.

----------------------------------------------------------------------------

Install the client program (RJ_PG_Install_101.exe) on your home or office computer.
This is the interface for the bulk file upload and your web site.

After the basic install the program should be up and running.
With your browser type the address to the index.pl
http://www.YourServer.com/cgi-bin/photogallery/index.pl

This will show you the program main page with the data and images supplied,
using the templates supplied with the program.

To remove the data and images:
delete all the images in the /photogallery/images folder.

Edit the data.txt file and remove all the lines. Then upload the empty file
to your server.

----------------------------------------------------------------------------

To start uploading your images.
With your browser type the address to the pg-start.pl
http://www.YourServer.com/cgi-bin/photogallery/pg-start.pl

This will open the client program on your home or office computer.
1. Go to the folder where your images are stored.
2. Select the images you want to upload.
3. Go to next page and add captions.
4. Upload the files to the server.

Your administration program is at:
http://www.YourServer.com/cgi-bin/photogallery/admin.pl


Building your templates.

The page design is completely up to you. You can design the page in any way
you like to match your site. All you have to do is place the special tag 
on your page where you want the image table to appear. See the templates.html
admin/help folder for more on the page templates.



Windows Permissons


for Windows servers some files and folders needs to be writable by the program for the installation. You may have to ask your server administrator to set the permissions for you. If you have your own server, this is what you need to do:
  • Open Windows Explorer
  • Go to the folder where the /cgi-bin/photogallery/config folder is located
  • Highlight the folder
  • Right click and select "Properties" from the menu.
  • Click on the "Security" tab
  • Highlight "Everyone"
  • Set the permissions below to "Full Control"
  • Click "Apply" then "Ok".
  • Do the same for all the files in the Permissions List.






© 2006 Ranson's Scripts