Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Avatars.gif upload black background

PHP-Fusion Version: 7.02.03
Link: http://www.fangree.co.uk

Issue: When users upload avatars.gif they have black backgrounds when uploaded.
Example: http://www.fangree.co.uk/profile.php?lookup=424

How can we fix that please?

Thanks
Interestingly, in their need to verify...
also my site show black backgrounds :|
This avatar shows black background when uploded...

www.fangree.co.uk/images/behrooz_avatar.gif
aslso this site show black backgrounds
very very thanks
GIF vs PNG
0 : 1
:D
Jikaka Thanks man. Good work. :D
I am still confused :( about the thing that why we cannot have GIF file as Avatar...

Confused Because II am able to Upload this GIF in Forum Attachments... Why can't we have like that ? :|
Hi Guys!! Could you help me?

I have the same problem as behrooz but in my website is exactly the opposite!!!!!

When i try to load PNG images the background of those magically becames BLACK. I don't know how to edit the php code in order to fix this problem!

Example:

Original: http://www.ftfansub.net/cutenews/data/upimages/avatar/Hakkun.png
Loaded as Avatar: http://www.ftfansub.net/images/avatar...kun[1].png

hehehe!

Thank you in advance for anyone who can help me!
I didn't look in PHP-Fusion files how it's working, but if it's using GD library, you can use
CodeDownload  
imagealphablending($image, false);
imagesavealpha($image, true);


to set transparent background to image. Without these lines, PHP return image with background.
Thank you ^^
Thread Information
Author
Replies
13 posts
Views
4,908 times
Last Post
Last updated on 9 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Craig, behrooz, jikaka, miskith, Ankur, Hakkun