Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image partially loading #459

Open
chrise86 opened this issue Oct 30, 2016 · 0 comments
Open

Image partially loading #459

chrise86 opened this issue Oct 30, 2016 · 0 comments

Comments

@chrise86
Copy link

chrise86 commented Oct 30, 2016

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:
screen shot 2016-10-30 at 13 31 11

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant