FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Custom icons shrunk (3.1.1 upgrade)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Custom icons shrunk [message #188116] Sun, 23 May 2021 19:08 Go to next message
GaryM is currently offline  GaryM   United States
Messages: 118
Registered: May 2013
Location: Seattle
Karma: 3
Senior Member
Been playing around with our custom icons, the upgrade changed the size and not sure how to correct it. A nit but still our Cartouche doesn't look like a Cartouche anymore. Laughing

How they are supposed to look...
/forum/index.php?t=getfile&id=6886&private=0
/forum/index.php?t=getfile&id=6887&private=0

How they look in the gui...
/forum/index.php?t=getfile&id=6888&private=0

The forum templates seem to be scaling the icons to a default of 30x30 pixels, mine are 42x49 for the new_content and 30x49 for the existing_content.


[Updated on: Sun, 23 May 2021 21:37]

Report message to a moderator

Re: Custom icons shrunk [message #188117 is a reply to message #188116] Mon, 24 May 2021 08:34 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Ah, yes, we've added width= and height= properties to all images, including the icons.
This was done to make the pages load faster.
Google reported this as a CLS (Cumulative Layout Shift) problem.
You can remove/change them from your templates if they are undesirable.

[Updated on: Mon, 24 May 2021 08:44]

Report message to a moderator

Re: Custom icons shrunk [message #188118 is a reply to message #188117] Mon, 24 May 2021 12:32 Go to previous message
GaryM is currently offline  GaryM   United States
Messages: 118
Registered: May 2013
Location: Seattle
Karma: 3
Senior Member
Thanks for the details behind this Frank! We'll play around with a template and see how it looks.

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PHP Deprecated in 3.1.0
Next Topic: FUDforum only tor-onion hosting
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Mar 28 23:13:37 GMT 2024

Total time taken to generate the page: 0.02328 seconds