I see a lot of repeat posts for a few items and there are not a lot of directions for this script. So I am writting an unofficial FAQ for it
This FAQ post includes the following in the order they appear.
1)Installation (this is the admins install instructions)
2)Installing Multiple Galleries. (admins instructions but more defined)
3)Image Size changes
INSTALLING.
This is the basic install for ONE Gallery. All files remain the same.
1-download the gallery files to your pc.
2-Unzip files.
3-Open config.php file and edit the following settings:
]
//Define the folder where your photos will be placed on you server.
//Relative to the path you place the gallery index.php
$gallerypath="images"; //EX. images or ../gallery/images no trailing slash needed
$thumbpath="imagethumbs"; //EX. images or ../gallery/imagethumbs
$transitionspeed="500"; //How fast you want the animations to render
$fadespeed="300"; //How fast you want the photos to fade in and out
$username="username_here";//Username for accessing image uploader
$password="password"; //Password to access image uploader
4- upload files to your host using FTP.
5- go to http://www.yoursite.com/gallery_location/uploader/index.php
NOTE: if you did not upload the gallery folder, and only uploaded the files then you will not need (gallery_location) it would look like: http://www.yoursite.com/uploader/index.php
same thing if you changed the gallery folder to a different name like photogallery then it would be:
http://www.yoursite.com/photogallery/uploader/index.php
Log into the uploader and enter your image folder paths (image and imagethumbs in this example.
Image location: images/
Thumbs locations: imagethumbs/
Then upload the photos from your PC. Repeat the process until you have all your images.
INSTALLING MULTIPLE GALLERIES.
This is fairly simple it requires the same process as above with the only variation being skipping the config file.
1- download gallery from E2, and unzip.
2- edit config.php lines for username and password
$username="username_here";//Username for accessing image uploader
$password="password"; //Password to access image uploader
3- Open the Gallery Index.php in a file editor or wordpad.
4- Locate Line 51 [code]require_once"config.php";[/code] and change code to:
//Define the folder where your photos will be placed on you server.
//Relative to the path you place the gallery index.php
$gallerypath="images"; //EX. images or ../gallery/images no trailing slash needed
$thumbpath="imagethumbs"; //EX. images or ../gallery/imagethumbs
$transitionspeed="500"; //How fast you want the animations to render
$fadespeed="300"; //How fast you want the photos to fade in and out
5- in the gallerypath and thumbpath change these to your specific gallery example family gallery.
//Define the folder where your photos will be placed on you server.
//Relative to the path you place the gallery index.php
$gallerypath="/familygallery"; //EX. images or ../gallery/images no trailing slash needed
$thumbpath="/familythumbs"; //EX. images or ../gallery/imagethumbs
6- make sure your path is correct to the folder you have designated for that gallery.
7- save the index file as a new file such as in this example familygallery.php
8- you will follow the same process for each gallery created, each one will have to have different names for the folders and index.php file. The folder path you define will display every picture in that folder, so if you point each page you create to the same folder they will all display the same images.
Note I would not delete the index.php file or overwrite it I would leave it intact do not save it as index.php this way you can use it later to create more galleries if needed.
IMAGE SIZE MODIFICATIONS.
To change the display size of the large images and or the Thumbnails.
1- edit file ..gallery/uploader/index.php
2- to change the large image size find lines 208 and 209 it looks like this.
$handle->image_resize = true;
$handle->image_ratio = true;
$handle->image_y = 600;
$handle->image_x = 600;
$handle->jpeg_quality = 95;
Change the 600's on image_y and image_x to your own values, I use 300 it fits nice.
3- to change the thumbnailer image size find lines 231 and 232
$handle->image_resize = true;
$handle->image_y = 100;
$handle->image_x = 100;
$handle->jpeg_quality = 95;
Again change image_y and image_x values, I use 60.
4 - save file and upload to your server.
I WILL NOTE: that if you change the thumbnail images sizes your thumbnail slide will look funny because the left and right slide arrows are images in the gallery/designs folder. Since the arrow images are not resized unless you do this in photo shop for each sytle they will be larger then your thumbnails and they will break the border around the thumbnailer slide.
That is my FAQ for a few common problems, most issues are resolved with proper installation. the display size was the most common question i found that was not related to installation problems. If you have anything to add please do so.
