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.
Not a member yet? Click here to register.
Forgot Password?

Avatars.gif upload black background

Asked Modified Viewed 5,318 times
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
asked
Fusioneer

PHPFusion 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
0 replies

12 posts

J
jikaka
J
jikaka 10
www.rusfusion.ru - russian nss
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 82 threads in the forums
answered
Veteran Member

Interestingly, in their need to verify...
0 replies
B
behrooz
B
  • Member, joined since
  • Contributed 122 posts on the community forums.
  • Started 29 threads in the forums
answered
Member

also my site show black backgrounds :|
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
answered
Fusioneer

This avatar shows black background when uploded...

www.fangree.co.uk/images/behrooz_avatar.gif
0 replies
B
behrooz
B
  • Member, joined since
  • Contributed 122 posts on the community forums.
  • Started 29 threads in the forums
answered
Member

aslso this site show black backgrounds
0 replies
J
jikaka
J
jikaka 10
www.rusfusion.ru - russian nss
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 82 threads in the forums
answered
Veteran Member

the problem is due to the fact that the avatar you have to GIF format but not in PNG
in PNG 's all right, so look: http://rusfusion.ru/profile.php?looku...lookup=554

here is the link to PNG:
s4.postimage.org/2s1wnzkdg/behrooz_avatar.png

try to download it
0 replies
B
behrooz
B
  • Member, joined since
  • Contributed 122 posts on the community forums.
  • Started 29 threads in the forums
answered
Member

very very thanks
0 replies
J
jikaka
J
jikaka 10
www.rusfusion.ru - russian nss
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 82 threads in the forums
answered
Veteran Member

GIF vs PNG
0 : 1
:D
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
answered
Fusioneer

Jikaka Thanks man. Good work. :D
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

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 ? :|
0 replies
H
Hakkun
H
Hakkun 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
answered
Newbie

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!
Edited by Hakkun on 15-07-2011 23:33,
0 replies
M
miskith
M
My projects:
PHP-Fusion Czech | miskith portfolio | theConnex (In preparation) | Online game (Future project)
  • Member, joined since
  • Contributed 117 posts on the community forums.
  • Started 2 threads in the forums
answered
Member

I didn't look in PHPFusion files how it's working, but if it's using GD library, you can use
imagealphablending($image, false);
imagesavealpha($image, true);

to set transparent background to image. Without these lines, PHP return image with background.
0 replies
H
Hakkun
H
Hakkun 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
answered
Newbie

Thank you ^^
Edited by Hakkun on 16-07-2011 16:09,
0 replies

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 12 posts
  • Votes 0 votes
  • Topic users 6 members

6 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
B
B
  • Member, joined since
  • Contributed 122 posts on the community forums.
  • Started 29 threads in the forums
J
J
jikaka 10
www.rusfusion.ru - russian nss
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 82 threads in the forums
M
M
My projects:
PHP-Fusion Czech | miskith portfolio | theConnex (In preparation) | Online game (Future project)
  • Member, joined since
  • Contributed 117 posts on the community forums.
  • Started 2 threads in the forums
A
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
H
H
Hakkun 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet