Skip to content

Set false to animated options for thumbnail processor#4547

Merged
Gargron merged 1 commit intomastodon:masterfrom
ykzts:animated-false
Aug 7, 2017
Merged

Set false to animated options for thumbnail processor#4547
Gargron merged 1 commit intomastodon:masterfrom
ykzts:animated-false

Conversation

@ykzts
Copy link
Copy Markdown
Member

@ykzts ykzts commented Aug 7, 2017

Resolve #3199

Fix the aspect ratio of animated GIF whose background is transparent.

Resolve #3199

Fix the aspect ratio of animated GIF whose background is transparent.
@ykzts ykzts added the bug Something isn't working label Aug 7, 2017
@Gargron Gargron merged commit 87f10d4 into mastodon:master Aug 7, 2017
@ykzts ykzts deleted the animated-false branch August 7, 2017 12:41
@clworld
Copy link
Copy Markdown
Contributor

clworld commented Aug 7, 2017

I experienced glitch that static version of animated icon is not shown.
It seems filename of static thumbnail is changed but not regenerated.
Filename is changed from system/accounts/avatars/X/X/X/static/XXX.png to system/accounts/avatars/X/X/X/static/XXX.gif, but XXX.gif is not exists.
Is it needed regenerating whole animated icon's static thumbnails?

@Gargron
Copy link
Copy Markdown
Member

Gargron commented Aug 7, 2017

Hmm, you are right. I forgot that paperclip just assumes the format specified in the style is the extension. I don't want to force people to regenerate everything...

@ykzts
Copy link
Copy Markdown
Member Author

ykzts commented Aug 7, 2017

I forgot that this also applies to past things... Requiring regeneration would be a hassle for instance administrators.

@ykzts
Copy link
Copy Markdown
Member Author

ykzts commented Aug 7, 2017

I think that it is better to revert. #4550

I will consider a better way.

Gargron pushed a commit that referenced this pull request Aug 7, 2017
* Revert "Adjust tags and accounts page (#4534)"

This reverts commit a3e53bd.

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

This reverts commit 8eb6d17.

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

This reverts commit 5942347.

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

This reverts commit 22db947.

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

This reverts commit 5d408fd.

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

This reverts commit 47579ec.

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

This reverts commit 3363a05.

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

This reverts commit 87f10d4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants