search for: image_act

Displaying 2 results from an estimated 2 matches for "image_act".

Did you mean: image_alt
2006 Apr 27
7
SuperImage plugin
...show_image" action is currently included in via "include SuperImagePlugin::Show" This works, but it means the action name that performs the image retrieval is locked in to be "show_image". I would like to have it works this way: class MyImagesController < ... image_action :foo end Then you can access the images via "/my_images/foo/12". Sadly though, metaprogramming like this still makes my head spin. If anyone has ideas about alleviating these 2 points, it sure would be appreciated. -- Posted via http://www.ruby-forum.com/.
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. --