From 64d109dc0e39574d4ed45f2443ee132dfb761033 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 5 Dec 2016 17:13:05 +0100 Subject: Downsize originals in media attachments, small fixes --- app/models/media_attachment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models') diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index d37ef99a8..7214ab880 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -44,7 +44,7 @@ class MediaAttachment < ApplicationRecord def file_styles(f) if f.instance.image? { - original: '100%', + original: '1280x1280>', small: '510x680>', } else -- cgit