public
Description: Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.
Homepage: http://weblog.techno-weenie.net
Clone URL: git://github.com/technoweenie/attachment_fu.git
Click here to lend your support to: attachment_fu and make a donation at www.pledgie.com !
recognize image/jpg as an image mime type

git-svn-id: 
http://svn.techno-weenie.net/projects/plugins/attachment_fu@2933 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Thu Jul 19 13:06:09 -0700 2007
commit  79110e972dbd4a92dcffc55bd48185d7263e1965
tree    b15a8f3e0149b45855ebe25163ad3cc0bbbde11c
parent  62b13b5d9690d184e2074cbe75eace0bd31fd717
...
2
3
4
5
 
6
7
8
...
2
3
4
 
5
6
7
8
0
@@ -2,7 +2,7 @@ module Technoweenie # :nodoc:
0
   module AttachmentFu # :nodoc:
0
     @@default_processors = %w(ImageScience Rmagick MiniMagick)
0
     @@tempfile_path = File.join(RAILS_ROOT, 'tmp', 'attachment_fu')
0
- @@content_types = ['image/jpeg', 'image/pjpeg', 'image/gif', 'image/png', 'image/x-png']
0
+ @@content_types = ['image/jpeg', 'image/pjpeg', 'image/gif', 'image/png', 'image/x-png', 'image/jpg']
0
     mattr_reader :content_types, :tempfile_path, :default_processors
0
     mattr_writer :tempfile_path
0
 

Comments

    No one has commented yet.