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 !
applied fix as mentioned in 
http://ar-code.lighthouseapp.com/projects/35/tickets/16-imagescience-gif-t
humbnail-references-incorrect
Fri Mar 28 15:45:41 -0700 2008
technoweenie (committer)
Sun Mar 30 19:54:37 -0700 2008
commit  9610d9cc764026727f02cb623751e497898e35f9
tree    6b5ffb86e16b1d67eb50fadfced5e19f7dbecd37
parent  416fbb0017fa4ecaccfca4bcada592d694d532e1
...
235
236
237
238
 
239
240
241
...
235
236
237
 
238
239
240
241
0
@@ -235,7 +235,7 @@ module Technoweenie # :nodoc:
0
           ext = s; ''
0
         end
0
         # ImageScience doesn't create gif thumbnails, only pngs
0
- ext.sub!(/gif$/, 'png') if attachment_options[:processor] == "ImageScienceProcessor"
0
+ ext.sub!(/gif$/, 'png') if attachment_options[:processor] == "ImageScience"
0
         "#{basename}_#{thumbnail}#{ext}"
0
       end
0
 

Comments

    No one has commented yet.