2009-07-27 18:58:58 +02:00
|
|
|
== Welcome to Balder photo gallery
|
2009-05-22 14:13:46 +02:00
|
|
|
|
2009-07-06 16:12:39 +02:00
|
|
|
Made by Espen Antonsen.
|
2009-05-22 14:13:46 +02:00
|
|
|
|
2009-07-27 18:58:58 +02:00
|
|
|
http://balderapp.com
|
|
|
|
|
2009-06-09 00:39:36 +02:00
|
|
|
== Features
|
|
|
|
|
|
|
|
* Stores photos to disk in folders
|
2009-07-06 16:12:39 +02:00
|
|
|
* Create multiple thumbnails of custom sizes
|
|
|
|
* Read and writes EXIF/IPTC title, description and keywords
|
|
|
|
* Organize in albums (as events in iPhoto)
|
|
|
|
* Combine albums in collections (as albums in iPhoto)
|
2009-06-10 01:22:48 +02:00
|
|
|
* Upload multiple photos
|
2009-06-09 00:39:36 +02:00
|
|
|
* Tag photos. Can also tag albums (actually all photos in album is tagged)
|
2009-07-06 16:12:39 +02:00
|
|
|
* User management with roles and permissions
|
|
|
|
* Geo-location of albums & photos with Google Maps integration.
|
|
|
|
|
2009-07-27 19:16:17 +02:00
|
|
|
== License
|
|
|
|
|
|
|
|
Free for personal use. Contact me for commercial license.
|
|
|
|
|
2009-07-06 16:12:39 +02:00
|
|
|
== Todo
|
|
|
|
|
|
|
|
* Theme support?
|
|
|
|
* Multiple galleries?
|
|
|
|
* Support for ImageMagick in addition to FreeImage?
|
2009-06-09 00:39:36 +02:00
|
|
|
|
2009-06-02 00:08:57 +02:00
|
|
|
== Requirements
|
2009-05-22 14:13:46 +02:00
|
|
|
|
2009-06-10 01:22:48 +02:00
|
|
|
Rails 2.3
|
2009-06-03 01:33:39 +02:00
|
|
|
|
2009-06-02 00:08:57 +02:00
|
|
|
Software
|
2009-06-03 01:33:39 +02:00
|
|
|
- FreeImage (required for Image_Science)
|
2009-06-02 00:08:57 +02:00
|
|
|
- ExifTool (required for Mini_EfixTool)
|
2009-05-22 14:13:46 +02:00
|
|
|
|
2009-06-02 00:08:57 +02:00
|
|
|
Ruby Gems
|
|
|
|
- AuthLogic
|
|
|
|
- Mime-Types
|
|
|
|
- Image_Science
|
|
|
|
- RubyInline (required for Image_Science)
|
2009-06-09 00:39:36 +02:00
|
|
|
- Mini_ExifTool
|
|
|
|
|
|
|
|
== Installation
|
|
|
|
|
2009-07-06 15:49:03 +02:00
|
|
|
1. git clone git://gitorious.org/gallery-without-a-name/gallery-without-a-name.git
|
|
|
|
2. install required software listed above
|
|
|
|
3. create folders for photos outside rails project:
|
|
|
|
photos/originals
|
|
|
|
photos/thumbs
|
|
|
|
4. Web-server must have write access to the photos folders
|
|
|
|
5. Link up the photo folders
|
2009-07-06 16:12:39 +02:00
|
|
|
in the public folder:
|
|
|
|
ln -s /path/to/photos/originals files
|
|
|
|
ln -s /path/to/photos/thumbs thumbs
|
2009-07-06 15:53:23 +02:00
|
|
|
6. Copy settings file:
|
|
|
|
cp gallery/config/database.example.yml gallery/config/database.yml
|
|
|
|
cp gallery/config/settings.example.yml gallery/config/settings.yml
|
|
|
|
7. Create databsae user and edit settings files.
|
|
|
|
8. rake db:create
|
|
|
|
9. rake db:migrate
|
|
|
|
10. Start up the project with your preferred web-server
|
2009-07-06 15:49:03 +02:00
|
|
|
|
2009-07-06 16:12:39 +02:00
|
|
|
=== Optional: add photos directly to disk
|
2009-07-06 15:49:03 +02:00
|
|
|
|
|
|
|
The gallery has a web-based upload tool using Flash. Alternatively you can upload files directly by doing this:
|
|
|
|
|
2009-06-09 00:39:36 +02:00
|
|
|
Put photos in containing folders(albums) in the specified gallery folder. This format is recommended:
|
|
|
|
|
|
|
|
./ski weekend in hemsedal/snow.jpg
|
|
|
|
./ski weekend in hemsedal/afterski.jpg
|
|
|
|
./trip to iran/beautiful girls in tehran.jpg
|
|
|
|
./trip to iran/mosque in yazd.jpg
|
|
|
|
./trip to iran/powder snow in dizin.jpg
|
|
|
|
|
2009-07-06 16:12:39 +02:00
|
|
|
Every time you manually add photos to disk you must run the following in script/console:
|
2009-06-09 00:50:25 +02:00
|
|
|
|
|
|
|
require "scan"
|
|
|
|
ScanFiles.FullScan
|
|
|
|
|
2009-07-06 15:49:03 +02:00
|
|
|
In future releases the scan will be automated.
|