Skip to content

Commit

Permalink
applied fix as mentioned in http://ar-code.lighthouseapp.com/projects…
Browse files Browse the repository at this point in the history
  • Loading branch information
joergbattermann authored and technoweenie committed Mar 31, 2008
1 parent 416fbb0 commit 9610d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/technoweenie/attachment_fu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def thumbnail_name_for(thumbnail = nil)
ext = s; ''
end
# ImageScience doesn't create gif thumbnails, only pngs
ext.sub!(/gif$/, 'png') if attachment_options[:processor] == "ImageScienceProcessor"
ext.sub!(/gif$/, 'png') if attachment_options[:processor] == "ImageScience"
"#{basename}_#{thumbnail}#{ext}"
end

Expand Down

0 comments on commit 9610d9c

Please sign in to comment.