mcGallery 1.1
Changelog

version 1.1:
Little bugfix (the ' in the photos titles were "slashed". To upgrade, only upload index.php.
Languages files added: italian, dutch and slovac. Thanks to their authors.
 
Requirements

Your server must run:
MySQL
PHP 4.x with the library GD 1.8 or latest, in order to create thumbnails. If not, you have to make them yourself, and upload them in the sub folders small (see below).
 
First step

Start by select photos ( .jpg format) you want to show. Put them in folders, et name these folders 1, 2, 3, etc. Each folder will be an album.
Create in these folders a sub folder called small.
You can create as much as folders/albums you want, and each of them must contains:
  • Your photos in .jpg format
  • A sub folder called small
Second step

Edit and modify the file conf.inc.php with your datas.
The variable $lang must be the name of a file in the folder lang.
The variable $page_title will be the main title of your albums.
The variable $thumb_width is ... the thumbnails width.
Upload every files and folders on your server.
Then upload your albums, put them in the folder albums.
Set the permissions to 777 (CHMOD 777) for all folders 1, 2, 3, and the sub folders small.
Last, create the tables mcgallery and mcgallery_album in your database, using the file table.sql
 
Run

Browse to the page page mcGallery/admin.php. Fill the fileds with your login and password, and you are now on the settings area.

Click on the X in the column Create Thumbnails, in order to have the same values in the columns Photos and Thumbnails. If your host server is not fast enough, you can have an error message and some thumbnails are not created. Do the work again, the script take care of existing thumbnails and doesn't create them again.

Click on the X in the column Adjust Database, in order to have the same values in the columns Photos and Base.

Then give a name to the album and click on OK

Click on the X in the column Detail, If you wish, you can set a description for the album, and a title, an author and a description for each photo.

Attention, on this page, remember to valid each photo before modifying another one.

Last, go back to admin. If you want to set an unique author for the all photos in an album, click on the X in the column Unique Author and fill the field in the form.

Repeat this for all the albums, then click on Logout to go to the index page.
Hint: if you have only one album, this page index.php directly diplays this album. Else, an index table is shown on the left.
 
And if I want ...

Add a photo in an existing album
Upload (by FTP) the photo in the folder, and go to the page mcGallery/admin.php in order to create thumbnail, update database, like before.

 
Copying
mcGallery is a free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.
mcGallery is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Copyright © 2002 - PhpForums - marc cagninacci