Displaying 2 results from an estimated 2 matches for "super_images".
2006 Apr 27
7
SuperImage plugin
...le-uploaded-images-easy
svn: http://beautifulpixel.textdriven.com/svn/plugins/super_image/
That''s all well and good and useable, but there are 2 things I would
like to improve. I am stuck on them, however.
First, the included migration is an ugly hack
def self.up
create_table :super_images, :force => true do |t|
t.column :data, :binary, :size => 10000000, :null => false
t.column :created_at, :datetime
end
execute "ALTER TABLE `super_images` MODIFY `data` MEDIUMBLOB"
end
I just could not get the ruby definition for :data to create a
MEDIUMBLO...
2006 Jun 07
7
file_column image versions
does anyone know much about resizing different versions of images with
file_column? i tried it and everything works fine, but my question is
can you do more than just make sizes with a version of image? i''m
working on a photo album and i would like to resize the image to a
medium size, but create a thumbnail as well and crop anything left to
make the thumbnail a perfect square.
--