Commit 208ec37b2756ff1567e8851951721c088e2ba052
1 parent
dbea8847
Exists in
master
and in
22 other branches
display-article: use proper way to fetch thumbnail
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/content_viewer/_display_compact_format.html.erb
1 | 1 | <% if article.image %> |
2 | 2 | <% className = "article-compact-abstract-with-image" %> |
3 | 3 | <% if article.image.thumbnails_processed? %> |
4 | - <% image_file = article.image.thumbnails[4].public_filename %> | |
4 | + <% image_file = article.image.public_filename(:big) %> | |
5 | 5 | <% else %> |
6 | 6 | <% image_file = "/images/icons-app/image-loading-thumb.png" %> |
7 | 7 | <% end %> | ... | ... |