Open source Ruby on Rails photo gallery
Find a file
2009-07-06 23:38:20 +02:00
app untouched album listing. 2009-07-06 23:38:20 +02:00
config example files added 2009-07-06 15:41:48 +02:00
db acts as permissible 2009-06-05 14:18:03 +02:00
doc initial commit 2009-05-22 14:13:46 +02:00
features find not find by title 2009-06-16 01:22:51 +02:00
lib menu on top. css notice. tags as array 2009-06-16 21:43:03 +02:00
public example db&setting files. maps 2009-07-06 15:41:19 +02:00
resources/DummyHTML added dummyhtml 2009-06-09 21:38:32 +02:00
script generated cucumber 2009-06-03 22:12:25 +02:00
spec acts as permissible 2009-06-05 14:18:03 +02:00
test added collections. rewrote some code 2009-06-03 01:33:39 +02:00
vendor/plugins Cucumber tests. Added Acts as permissible 2009-06-04 22:28:28 +02:00
.gitignore example db&setting files. maps 2009-07-06 15:41:19 +02:00
Rakefile initial commit 2009-05-22 14:13:46 +02:00
README todo list 2009-07-06 16:12:39 +02:00

== Welcome to the gallery without a name

Made by Espen Antonsen.

== Features

* Stores photos to disk in folders
* 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)
* Upload multiple photos
* Tag photos. Can also tag albums (actually all photos in album is tagged)
* User management with roles and permissions
* Geo-location of albums & photos with Google Maps integration.

== Todo

* Theme support?
* Multiple galleries?
* Support for ImageMagick in addition to FreeImage?

== Requirements

Rails 2.3

Software
- FreeImage (required for Image_Science)
- ExifTool (required for Mini_EfixTool)

Ruby Gems
- AuthLogic
- Mime-Types
- Image_Science
- RubyInline (required for Image_Science)
- Mini_ExifTool

== Installation

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
	in the public folder:
	ln -s /path/to/photos/originals files
	ln -s /path/to/photos/thumbs thumbs
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

=== Optional: add photos directly to disk

The gallery has a web-based upload tool using Flash. Alternatively you can upload files directly by doing this:

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

Every time you manually add photos to disk you must run the following in script/console:

	require "scan"
	ScanFiles.FullScan

In future releases the scan will be automated.