On Apr 5, 2011, at 4:38 PM, Robert Walker wrote:

Walter Davis wrote in post #991085:
I'm looking at Dragonfly, which seems to offer what I'm looking for in
this area: the ability to upload an image, then later request that
image at a different geometry, and either get a cached copy of that
resized image, or create and cache that image.

Can anyone point me to alternatives? Is this something that can be
added to Paperclip? I've only ever used Paperclip for file uploads of
any kind, and have always pre-sized to all of my defined target image
dimensions on upload. Is there any way to hook the resample methods
from a regular image request?

I'm building a CMS that allows the admin to specify the image
dimensions, not just choose from a list of possible sizes.

There was a Railscasts episode that might prove useful for your system.
It might hold some of the answers you're wanting:

http://asciicasts.com/episodes/182-cropping-images

You're right, this is very cool. But I'm hoping to find a way to use Paperclip to re-process an image that is already in the store to a new set of dimensions that haven't been defined in the has_attached_file call. Is there a way to pass the dimensions in at resize time? I'd want to reload the full-size version of an image that was previously uploaded, set its geometry to something new, and generate a new version on the fly.

Walter

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to