Using new access methods for ActiveStorage instead of Paperclip
This commit is contained in:
parent
01024c771b
commit
ce881343e2
8 changed files with 16 additions and 16 deletions
|
|
@ -16,8 +16,8 @@
|
|||
- @current_users_screenshots.each do |screenshot|
|
||||
.column
|
||||
|
||||
a.black.fancybox href=screenshot.image.url(:large, timestamp: false)
|
||||
a.black.fancybox href=screenshot.image.variant(resize: "800x600", timestamp: false)
|
||||
div.grid-thumbnail
|
||||
= image_tag(screenshot.image.url(:thumb, timestamp: false), alt: screenshot.caption, class: 'thumbnail')
|
||||
= image_tag(screenshot.image.variant(resize: "160x120"), alt: screenshot.caption, class: 'thumbnail')
|
||||
div
|
||||
= screenshot.description
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue