Dragonfly is a Ruby gem for a framework that enables on-the-fly processing for any content type. It is especially suited to image handling. Its uses range from image thumbnails to standard attachments to on-demand text generation. Use this tag for the Ruby gem, not the deprecated [dragonfly] tag, which is also the name of the Opera debugger (use [opera-dragonfly] for that meaning).
Questions tagged [dragonfly-gem]
142 questions
0
votes
1 answer
speed up uploads from Dragonfly to S3
(Rails 3.2 on Heroku)
For handling image uploads in Rails I switched from Paperclip to Dragonfly because I like to be able to generate thumbnails dynamically, when they are requested for the first time.
However, it seems that uploading of attached…

levinalex
- 5,889
- 2
- 34
- 48
0
votes
2 answers
Dragonfly cache location
Does anyone know the location of the rails image gem dragonfly's cache. I don't want to have to regenerate all the different sized versions of images each time I deploy.
I already keep the original files in shared and symlink them to each deploy,…

Edward
- 3,429
- 2
- 27
- 43
0
votes
1 answer
File uploading with Dragonfly, impossible to access images after upload (Rails 3)
I'm trying to make a multiple drag and drop upload file system with Rails 3 and Dragonfly (or anything that would work actually)
I'm at the point where my file comes in my controller through the params hash and I can retrieve it as an…

Geoffrey H
- 1,280
- 2
- 10
- 33
0
votes
1 answer
Dragonfly adding images to store before Model.save
The Dragonfly doc implies that nothing is written to the datastore until the model is saved:
When the model is saved, a before_save callback persists the data to
the App's configured datastore
Using Rails and Dragonfly 0.9.12, I have a model…

enzo
- 33
- 4
0
votes
1 answer
Upload image using UIImagePickerController to dragonfly on rails
I have a app for iOS and I have the user pick a image with a UIImagePickerController. How can I upload that image to my rails app using dragonfly. I think I would use multipart-image-data but I don't know how I would do this.

Sam Baumgarten
- 2,231
- 3
- 21
- 46
0
votes
1 answer
Using dragonfly with globalize
I'm trying to i18n the image_uid attribute in my model so I can have different images with different languages. I'm using globalize3 and dragonfly.
The problem is that is not working at all. It usually uploads the spanish image (which is the default…

Víctor
- 637
- 2
- 7
- 14
0
votes
1 answer
Change permissions for files in S3 using Dragonfly
in my rails project i use dragonfly for uploading files and store them in S3.
initially i pass {'x-amz-acl' => 'private'} for uploaded files and use private urls with expiration date.
is there an easy way to change it to 'public-read' after the file…