https://www.icyphoenix.com/viewtopic.php?f=29&t=156&p=1437#p1437
-----------------------------------
Mighty Gorgon
Sun 27 Aug, 2006 15:40

Re: First Poster's Avatar's Width And Height
-----------------------------------
A check on the image should be performed to make sure that proportion are maintaned... :roll:

Anyway, what I suggest is to set just the width (which is the dimension which causes stretching) and leave the height as float. This will be a problem only with tall images... but it's better than having stretched images... :wink:

Try this:
[code]return ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $avatar_url . '" width="80" alt="" border="0" />' : '';[/code]

Let me know. :wink:


