Avatar gif format need to change

Hi one question the default Avatar on boonex is a gif image is there any way to change it to png as i want to upload a transparent default Avatar and gif format looks horrible . ive added a pic in Attachment to show you what pic im talking about , many thanks

n.gif · 4.1K · 219 views
Quote · 13 Sep 2013

Should be easy enough to make it automatically chose a default Avatars randomly from about 20 different ones if the member does not pick one. I say 20 it could be 60 different avatars per gender. Of course they could pick one out themselves if they choose.

Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net
Quote · 13 Sep 2013

Sorry i mean the default avatar 

Quote · 14 Sep 2013

check this http://www.boonex.com/forums/topic/replacing-default-avatars-with-custom.htm

Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net
Quote · 14 Sep 2013

Hi i mean this default Avatar  http://tinypic.com/view.php?pic=2yycmqs&s=5#.UjVpdz-4fIU its a gif image i want to change it so its a png , why is it gif anyway.

Quote · 15 Sep 2013

Well if its just the defaults you want to change to png, well that's easy.

 

Edit templates\base\scripts\BxBaseFunctions.png

Change this at about line 260

return getTemplateIcon(isset($aGenders[$sSex]) ? $aGenders[$sSex] . $sType . '.gif' : 'visitor_' . $sType . '.gif');

To This

return getTemplateIcon(isset($aGenders[$sSex]) ? $aGenders[$sSex] . $sType . '.png' : 'visitor_' . $sType . '.png');


Now upload 64x64 medium male and female png images and 32x32 images to templates/base/images/icons. File names.

man_medium.png
man_small.png
woman_medium.png
women_small.png



Uploading is a different problem that boonex will have to fix. They convert every image that's uploaded which ruins both gif and png images. But uploading is not what you asked for.


https://www.deanbassett.com
Quote · 15 Sep 2013

Great many thanks thats been a great help , i still dont understand whey default is gif as animation does not work .

Quote · 15 Sep 2013

 

Great many thanks thats been a great help , i still dont understand whey default is gif as animation does not work .

http://www.boonex.com/forums/topic/How-to-show-animated-gifs.htm 

http://www.boonex.com/googlesearch/search?q=animated+avatars&gse_filter=googlesearch

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Sep 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.