updated readme with info about carrierwave
This commit is contained in:
parent
b3b8baf8b5
commit
fd64c725eb
3 changed files with 11 additions and 26 deletions
22
README
22
README
|
@ -2,11 +2,13 @@
|
|||
|
||||
Made by Espen Antonsen.
|
||||
|
||||
Version 1.1
|
||||
|
||||
http://balderapp.com
|
||||
|
||||
== Features
|
||||
|
||||
* Stores photos to disk in folders
|
||||
* Stores photos to disk in folders or on S3
|
||||
* Create multiple thumbnails of custom sizes
|
||||
* Read and writes EXIF/IPTC title, description and keywords
|
||||
* Organize in albums (as events in iPhoto)
|
||||
|
@ -20,26 +22,22 @@ http://balderapp.com
|
|||
|
||||
Free for personal use. Contact me for commercial license.
|
||||
|
||||
== 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)
|
||||
- RMagicK (required for Carrierwave resizing). Can also use ImageScience
|
||||
Optional:
|
||||
- ExifTool (required for Mini_EfixTool)
|
||||
|
||||
Ruby Gems
|
||||
- AuthLogic
|
||||
- Mime-Types
|
||||
- Image_Science
|
||||
- RubyInline (required for Image_Science)
|
||||
- Mini_ExifTool
|
||||
- Carrierwave
|
||||
Optional:
|
||||
- AWS/S3 (if saving to Amazon s3)
|
||||
- Mini_Exiftool (to read exif info to database. See photo.rb model)
|
||||
|
||||
== Installation
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
#require "image_science"
|
||||
require 'mini_exiftool'
|
||||
|
||||
class Photo < ActiveRecord::Base
|
||||
belongs_to :album
|
||||
has_many :photo_tags, :dependent => :destroy
|
||||
|
@ -53,14 +50,6 @@ class Photo < ActiveRecord::Base
|
|||
self.tags = ts
|
||||
end
|
||||
|
||||
|
||||
def exif_info
|
||||
photo = MiniExiftool.new(self.file.path)
|
||||
#photo.tags.sort.each do |tag|
|
||||
# puts tag.ljust(28) + photo[tag].to_s
|
||||
#end
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
|
||||
|
|
|
@ -15,10 +15,8 @@ Rails::Initializer.run do |config|
|
|||
|
||||
config.gem "authlogic"
|
||||
config.gem 'mime-types', :lib => 'mime/types'
|
||||
#config.gem "image_science"
|
||||
#config.gem "mini_exiftool"
|
||||
#
|
||||
config.gem "carrierwave"
|
||||
#config.gem "mini_exiftool"
|
||||
#config.gem "aws-s3", :lib => "aws/s3"
|
||||
|
||||
config.load_paths += %W( #{RAILS_ROOT}/app/middleware )
|
||||
|
|
Loading…
Reference in a new issue