Features
- Browse your directories to find out where are your pictures and from there generates an index.
- Automatically generates the thumbnails index (wether or not you have previsouly created the thumnails). Note: It does not create your thumbnails.
- Easy navigation through your albums.
- Default stylesheet and configuration but you can override them easily for each album.
- Legends to albums and pictures can be added through simple text file inserted in your directory (an admin web interface is under development)
- Language support for the navigation menus and for the legends as well.
Introduction
What is picsPHP ?
Well just another php script to conveniently share your pictures on the web.Why picsPHP ?
I have a digital camera since June 2000, I use it a lot and I like to share these pictures, but unfortunately I get sick of all those supposedly free website which lets you put your pictures on-line and then started to charge once they are successful enough. Therefore I decided to have my own scripts... Sure there are a lot of them out there on the web, but once again, none of them does exactly what I needed/wanted ! so I tried to do something which fulfilled my requirements,... hopefully it will be helpful to someone else...Download
Legal Disclaimer
This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.Warning - Request of help
This is my first PHP script, I have tried to make it safe but whoever finds a security leak is more than welcome to let me know by email.File
Feel free :-)Content of the zip file
- installation_dir/
- myalbums.php
- album.php
- picture.php
- inc/
- album_config.php
- definitions.php
- utility.php
- ...
- img/
- images needed for some features
- css/
- templates for album design
- doc/
- this document
- example/
- An example that you can upload on your server if you want to check the operating of the script.
Version history
- v1.0:
- Fix a few minor bugs.
- Legends to pictures can be added now with only one text file.
- Support new pictures format.
- Support new pictures format.
- Danish added as a new language.
- Support for original pictures (as opposed to the web friendly ones).
- Detect newly created or updated directories.
- v0.2:
- Generates album index and pictures index from the directory structure.
- Legends to albums and pictures can be added through simple text file inserted in your directory (an admin web interface is under development and will be posted here).
- Language support for the navigation menus and for the legends as well (language supported as for now:english, french, german, dutch and slovenian.
- v0.1:
- First version publicly released.
Installation
Very easy...- Download the latest version,
- Unzip the file locally on your computer,
- Edit both the files inc/definitions.php and inc/album_config.php to set up the values by default.
I would like to think they are well enough documented to not have to repeat everything here. - You are ready to upload the following files wherever are your pictures directory.
Upgrade
How to upgrade ? You just need to update a couple of files...- Unzip the file locally on your computer,
- Replace the files 'album_functions.php' 'albums_functions.php', 'picture_functions.php' in the directory 'inc'
- Add the directory 'img' in the directory 'inc'
- To enjoy the new features you also have to add a few lines in your 'album_config.php' in the 'inc' directory. They are under the banner "New features version 1.0" in the 'album_config.php' file you just unzipped. Copy and edit them in your own file to define the default beahvior. You can then modify this settings individually for each albums by editing the related file.
- Last but not least, do not forget to upload the files on your server :-)
Mailing-list / Forum
I intend to manage a mailing list at least to announce new release or major bug. If you are interested you can send an email to picsphp@smoothplanet.com.Regarding the forum, if there is an interest I might host a forum for discussions in the futur...
Miscellanous
I welcome any suggestion for improvements and/or bug reports. Feel free also to write me if you have some nice stylesheet for your album that you would like to share, I will publish them on the website with your name associated to it!Also I would be glad to add on the main website some pointers to pages that uses picsPHP, again please let me know. For all those matters, only one email address: picsphp@smoothplanet.com
ToDo list
These are a list of things to work on. I am currently working on a few of them and I hope being able to release them very soon.- More documentation. How to create new stylesheet...
- Administration to add legends to albums and pictures.
- Download module, to allow your visitors to download easily your pictures for personnal use.
- Password protected album module
(http://www.smoothplanet.com/sp/soft/picsphp/)
(picsphp@smoothplanet.com)
(last version: 20.08.2003)