How to stop avatars from animating?

Discuss issues and requests related with the forum software
User avatar
A Keymaker
Posts: 455
Joined: 31 May 2022, 13:46
Location: Donjon du Château de Mérovingien

How to stop avatars from animating?

16 Jun 2022, 08:19

Is there a way to freeze avatars using GIFs? Maybe with some CSS code?

All those animated graphics are simply annoying and simply distracting when trying to read and understand codes. I already hid for myself Smilies with such CSS adjustment:

Code: Select all

.smiley-box img
{
width: 0;
height: 0;
}
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: How to stop avatars from animating?

16 Jun 2022, 09:05

u can block the loading of gifs in ur adblocker of choice

or u can paint the first frame of the gif atop the gif, then delete the gif with some js:

Code: Select all

Array.from(document.querySelectorAll('img.avatar[src$=".gif"]')).map(img => {
	let c = document.createElement('canvas')
	c.width = img.width
	c.height = img.height

	img.parentElement.insertBefore(c, img)
	c.getContext('2d').drawImage(img, 0, 0, img.width, img.height)
	img.remove()
})
User avatar
tank
Posts: 3130
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: How to stop avatars from animating?

16 Jun 2022, 18:41

ucp.php?i=ucp_prefs&mode=view

just use the settings n disable avatars. css cannoot manipulate gifs
Attachments
Screenshot_20220616-183931.png
Screenshot_20220616-183931.png (505.2 KiB) Viewed 1644 times
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
A Keymaker
Posts: 455
Joined: 31 May 2022, 13:46
Location: Donjon du Château de Mérovingien

Re: How to stop avatars from animating?

17 Jun 2022, 13:08

tank wrote:
16 Jun 2022, 18:41
[...]
use the settings n disable avatars .
But avatars are very usefull, when scrolling through long topics with many posts
tank wrote:
16 Jun 2022, 18:41
css cannoot manipulate gifs
That's just too bad

It seems I will have to use java or some plugin
User avatar
tidbit
Posts: 1273
Joined: 29 Sep 2013, 17:15
Location: USA

Re: How to stop avatars from animating?

18 Jun 2022, 10:59

Ah, the ooooold Opera browser, and its new version, Vivaldi.
has 2385723 options without addons. It's glorious.
One such feature:
Image

Though, this would affect all sites.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
User avatar
A Keymaker
Posts: 455
Joined: 31 May 2022, 13:46
Location: Donjon du Château de Mérovingien

Re: How to stop avatars from animating?

22 Jun 2022, 14:05

I only found one lame use-unfriendly plugin: https://addons.mozilla.org/en-US/firefox/addon/toggleanigif/

And as refuse to switch to using other web-browser just because a forum allows for its avatars to be stuck in the 1990s, I recon I will have to use some JavaScript manager, that will allow me to apply a rule only to such forum
User avatar
tank
Posts: 3130
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
Contact:

Re: How to stop avatars from animating?

23 Jun 2022, 13:03

Keymaker wrote:
22 Jun 2022, 14:05
allows for its avatars to be stuck in the 1990s
Because you cant pay attention? are you a cat? Animations are a facet of web sites and applications everywhere, do you have trouble driving with animated billboards or business signs?
the fact that there is no mainstream way to prevent animations is a pretty good indicator that you are amongst an extreme minority of people with such issues. the fact that you can disable avatars as a user preference but refuse to do that is an indicator that maybe you need to be the one that solves this problem for all 5 ppl on the planet with such requirements.
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
User avatar
A Keymaker
Posts: 455
Joined: 31 May 2022, 13:46
Location: Donjon du Château de Mérovingien

Re: How to stop avatars from animating?

23 Jun 2022, 13:34

tank wrote:
23 Jun 2022, 13:03
Keymaker wrote:
22 Jun 2022, 14:05
allows for its avatars to be stuck in the 1990s
Because you cant pay attention? are you a cat?
No

I am a grownup who does not succumb to infantile things
tank wrote:
23 Jun 2022, 13:03
Animations are a facet of web sites and applications everywhere, do you have trouble driving with animated billboards or business signs?
When I drive I usually do not read texts in foreign language and / or try to decipher lines of code with my limited programming skills

tank wrote:
23 Jun 2022, 13:03
the fact that there is no mainstream way to prevent animations is a pretty good indicator that you are amongst an extreme minority of people with such issues.
[...]
problem for all 5 ppl on the planet with such requirements.
But if I am subscribed to as much as 14 other forums of which all 14 do not allow for usage of animated avatars, then there'd have to be some kind of miracle to allow me for encountering such cosmological chance. Ergo: this must be another Matrix glitch. But let me just consult this with my 5 friends and I will get back to you on that
User avatar
joedf
Posts: 8986
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: How to stop avatars from animating?

23 Jun 2022, 13:50

Locking this topic. Solutions have been suggested and I believe the continued discussion is no longer productive or relevant to the topic at hand.
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Return to “Forum Issues”

Who is online

Users browsing this forum: CoffeeChaton, joedf and 21 guests