Revert "Set false to animated options for thumbnail processor" (#4550)

* Revert "Adjust tags and accounts page (#4534)"

This reverts commit bac2a77deb.

* Revert "feat: Cache status height to avoid expensive renders (#4439)"

This reverts commit ed7abec8f5.

* Revert "Refactor Avatar and AvatarOverlay to have 'account' as prop instead of src and staticSrc (#4526)"

This reverts commit 199affb141.

* Revert "Update dependencies for Ruby (#4543)"

This reverts commit 4e7e54ace5.

* Revert "[Docker] Add multicore support to "make" and "bundler" (#4544)"

This reverts commit 672083c50b.

* Revert "It makes no sense to try using invalid or expired link again (#4521)"

This reverts commit f127f72d44.

* Revert "i18n: Update Polish translation (#4545)"

This reverts commit 8e80cea3e4.

* Revert "Set false to animated options for thumbnail processor (#4547)"

This reverts commit 730fa0a06b.
This commit is contained in:
Yamagishi Kazutoshi 2017-08-08 08:49:56 +09:00 committed by Eugen Rochko
parent bac2a77deb
commit bd6676b176
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ module AccountAvatar
class_methods do
def avatar_styles(file)
styles = { original: '120x120#' }
styles[:static] = { animated: false } if file.content_type == 'image/gif'
styles[:static] = { format: 'png' } if file.content_type == 'image/gif'
styles
end

View file

@ -8,7 +8,7 @@ module AccountHeader
class_methods do
def header_styles(file)
styles = { original: '700x335#' }
styles[:static] = { animated: false } if file.content_type == 'image/gif'
styles[:static] = { format: 'png' } if file.content_type == 'image/gif'
styles
end