ImageScience thumbnail filename extension broken
Reported by edraut | October 6th, 2008 @ 01:30 PM
When the processor is defined as 'ImageScience', the png thumbnails are correctly named and located. However, if the processor is defined as :image_science the thumbnails are given the extension '.gif' and are naturally not found, since ImageScience makes png thumbnails.
In thumbnail_name_for, under this comment:
# ImageScience doesn't create gif thumbnails, only pngs
the line should read:
ext.sub!(/gif$/, 'png') if attachment_options[:processor].to_s.classify == "ImageScience"
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป