Help - Search - Members - Calendar
Full Version: Avatar HTML -> Template
Invision Power Services > Invision Power Services, Inc. > IPS Company Feedback > IP.Board
Luke
I noticed that the avatar HTML is directly in the get_avatar function in ipsclass.php. This needs to be in the templates...

Another suggestion:

It would be nice to be able to use PNG's translucent ability in Avatar's. Unfortuantly the limitation of IE 6 and earlier ruins this...

I suggest using this when a member is using a PNG image as their avatar and viewer is currently using IE 6 or earlier:

<img src="./style_images/<#IMG_DIR#>/spacer.gif" style="filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='THE_IMAGE.PNG');" ... />

And for anything else:

<img src="THE_IMAGE.PNG" ... />

The "..." represents anything else that's supposed to be in there. The effect makes the png image translucency work in IE 6 or earlier biggrin.gif!

If not add this by default for PNG images and for viewers using IE, maybe a check-box option when picking your avatar original.gif.

NOTE: The ./ isnt needed. I put it there because the board is replacing it with the invision url...
bfarber
The png alpha transparency issue for IE6 will be fixed for IPB 2.2 *globally*.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.