diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index dd9ecb80e..908b35502 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -223,7 +223,8 @@ module ApplicationHelper link_to( image_tag( thumbnail_path(attachment), - :srcset => "#{thumbnail_path(attachment, :size => Setting.thumbnails_size.to_i * 2)} 2x" + :srcset => "#{thumbnail_path(attachment, :size => Setting.thumbnails_size.to_i * 2)} 2x", + :width => Setting.thumbnails_size ), named_attachment_path( attachment,