dragonfly
dragonfly copied to clipboard
Image partially loading
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
item.images.first.thumb("640x400#").url
Results in:

When opening this image in a new tab the image randomly partially loads; refreshing causes the image to partially load, maybe slightly more or less than last time.
Take this url for example https://prezbo.com/media/W1siZiIsIjIwMTYvMTAvMzAvNzhmdXh1eTh2MV82MXRpOTVDTFZhTC5qcGciXSxbInAiLCJ0aHVtYiIsIjY0MHg0MDAjIl1d/61ti95CLVaL.jpg?sha=35281c700ba7da8c
The filename does not contain anything unusual: 61ti95CLVaL.jpg