DAlbum File Manager

I customized DAlbum so that photos can be uploaded using an online file manager. This involved integrating the DAlbum photo album and the File Thingie file manager and the File Upload/Download - FileReference Flash program.

This package will only work with DAlbum version 1.41 build 154.


Download


Contents of the README file

###############################################################################

DALBUM FILE MANAGER
===================

Copyright (c) 2006 Chad Parry

The DAlbum File Manager is an integration of the DAlbum photo album and
the File Thingie file manager and the File Upload/Download - FileReference
Flash program.

DALBUM LICENSE
==============

Copyright (c) 2003 Alexei Shamov, DeltaX Inc.

This program is 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
(at your option) any later version.

This program 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

FILE THINGIE LICENSE
====================

File Thingie version 1.41 - Andreas Haugstrup Pedersen  October 1st, 2003
The newest version of File Thingie can be found at 

LICENSE INFORMATION:
This work is licensed under the Creative Commons Attribution-NoDerivs-NonCommercial.
To view a copy of this license, visit 
If you want to use File Thingie for a commercial work please contact me at 

FILE UPLOAD/DOWNLOAD - FILEREFERENCE LICENSE
============================================

The original author and distributor of the "File Upload/Download -
FileReference" Flash program is Oinam Software, http://www.oinam.com/.
The terms of the license are not known.

###############################################################################

SUMMARY
=======

This DAlbum customization will add an online file manager to DAlbum.
DAlbum administrators will be able to upload photos without needing
to be familiar with FTP.

###############################################################################

INSTALLATION
============

1)

Unpack or copy all the files into the DAlbum installation directory.
For example:

	> tar -xzf fileManager.tgz -C /usr/share/dalbum

These files should be present:

	custom.php.diff
	filethingie.php
	flash_detect.js
	flash_detect.vbs
	index.php.diff
	README
	uploadDownload.swf
	uploadFile.php
	upload.js
	viewFiles.php

2)

Next change to the DAlbum installation directory.
For example:

	> cd /usr/share/dalbum

3)

Next edit config/custom.php to add the text for the button that will
link to the file manager.  The changes that need to be made are shown
in the custom.php.diff file.  Some of the lines in that file start with
a '+' sign; those are the lines that need to be added anywhere to the file.
There is also a utility called patch that may be able to do this
automatically, depending on what other changes you have made to your
custom.php file.
For example:

	> patch < custom.php.diff

4)

Finally edit index.php to add the actual button.  The changes that need
to be made are shown in the index.php.diff file.  You should be able to
use the patch utility to make this change automatically also.
For example:

	> patch < index.php.diff

###############################################################################

USAGE
=====

When an administrative user is logged into DAlbum, a new button labeled,
"Upload" will appear alongside the "Reindex" button.  Click this button
to enter the file manager.

The file manager is based on File Thingie.  Photos can be uploaded, and
they can also be removed or renamed.  Nested directories can be created.

If the browser has at least version 8 of Flash Player, then a Flash
program will allow multiple files to uploaded at the same time.  Click
"Browse" to locate the files to upload.  Then click "Upload" to begin
transferring files.

After uploading or moving files, the album will need to be reindexed.
Click the "Reindex" button in the file manager's side bar to begin.

###############################################################################

RELEASE NOTES
=============

This is version 0.1, released August 25, 2006.

Known issues:

When a file is moved or renamed, and then multiple files are uploaded,
the program will attempt to perform the move or rename again.