Jump to content

Avatar HTML -> Template


Guest Luke

Recommended Posts

Posted

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 :D!

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

NOTE: The ./ isnt needed. I put it there because the board is replacing it with the invision url...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...