0
0
Fork 0

Downsize originals in media attachments, small fixes

This commit is contained in:
Eugen Rochko 2016-12-05 17:13:05 +01:00
parent a910cdd54d
commit 64d109dc0e
4 changed files with 5 additions and 5 deletions

View file

@ -44,7 +44,7 @@ class MediaAttachment < ApplicationRecord
def file_styles(f)
if f.instance.image?
{
original: '100%',
original: '1280x1280>',
small: '510x680>',
}
else