diff --git a/app/models/work.rb b/app/models/work.rb index 1e3cac7db55..fb74c80e8f9 100644 --- a/app/models/work.rb +++ b/app/models/work.rb @@ -21,7 +21,7 @@ class Work < ApplicationRecord def thumbnail_url if thumbnail.attached? - thumbnail.variant(resize_to_limit: THUMBNAIL_SIZE).processed.url + thumbnail.variant(resize_to_fill: THUMBNAIL_SIZE).processed.url else image_url('/images/works/thumbnails/default.png') end