Continuing the discussion from Broken Images Under "Media", also unable to install v10:
I’m not sure if this is still caused by my environment. I installed imagemagick on Ubuntu 16.04 and I have a node like this:
class Video < PushType::Node field :thumbnail_id, :asset end
In my view I want to display that image like so:
<%= image_tag media_path(item.thumbnail, :small), class: 'img-responsive' %>
Which does not work. My browser displays a broken image link.
<img class="img-responsive" src="/media/84a87d1a-e37f-4121-9d62-a8d7f0592a90.small" alt="84a87d1a e37f 4121 9d62 a8d7f0592a90">
I did not change the default dragonfly configuration and imagemagick is installed.
For some reason calling `item.thumbnail.file_uid’ works but its probably a bad hack.
<%= image_tag media_path(item.thumbnail.file_uid, style: :large), class: 'img-responsive' %>