dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

A Ruby gem for on-the-fly processing - suitable for image uploading in Rails, Sinatra and much more!

Results 70 dragonfly issues
Sort by recently updated
recently updated
newest added

Thought this would be helpful to anyone, was facing this issue until I found out what's going on in embedded documents. When you have Band and Photo model embedded, use...

Maybe it's user error, but I can't mass assign the image field in the embedded model PageSetting. This just stores a simple key/value pair and/or an image. ``` class PageSetting...

We are trying to host Dragonfly on Heroku. We are using Dragonfly in some apps for the purpose of image resizing and caching. I could not find any helpful resource...

Using Rails 4.2.7.1 and dragonfly 1.1.1 (also tried 1.0.12): ``` # app/models/item.rb class Item < ActiveRecord::Base has_many :items end # app/models/image.rb class Image < ActiveRecord::Base dragonfly_accessor :image end # app/views/items/_item.html.erb...

On a new Rails 5.0 app, I'm getting the following error after uploading the images: ``` DRAGONFLY: couldn't json decode string - got 743: unexpected token at 'i٢' ``` My...

In order to make the validate_presence_of to work you have to remove manually the params if they are blank. If you don't remove them, attachment is created. model: ``` ruby...

Is the file is the last in its directory, after deleting it the folder still exists without any files in it. I think, it is not the best behavior.

I was trying to use the `#b64_data` method to encode an image into base64 for insertion directly into an HTML IMG element attribute. I noticed it was failing because the...

``` irb(main):023:0> m.image.remote_url => "http://pdh-staging-sp.s3.amazonaws.com/2016/07/11/21/06/33/5c769da8-b7de-484b-bb67-0cbd06999c13/= 0_p-.png" ``` There is a unescaped space on teh URL, which breaks some stuff. `m` is a model which has `dragonfly_acessor :image`. Version is 1.0.12.

I use dragonfly for uploading picture, some of them are svg. Is any solution how to gzip it in rails or nginx?.