Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Avatars - colour white appears black.  (Read 4648 times)

0 Members and 1 Guest are viewing this topic.

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Avatars - colour white appears black.
« on: August 10, 2007, 08:25:06 pm »

hey,

When i upload an avatar the colour white appears black.

Settings -

GD version 2

File type-

.png and .gif


Thanks,
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Nibbler

  • Guest
Re: Avatars - colour white appears black.
« Reply #1 on: August 10, 2007, 08:26:55 pm »

You mean images with transparency?
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Avatars - colour white appears black.
« Reply #2 on: August 10, 2007, 08:38:32 pm »

I have

"enable un sharp mask" - off
"amount"- 120
"radius" - 0.5
"threshold" -3

Will the above create that effect?

It should look like this:

(http://mysimtractor.com/1186767581_ac44234482cde4bf584b7baaa83c706b.png)

But instead its:

(http://www.mysimtractor.com/cpg1412/albums/userpics/10001/user_10001_avatar.png)

thanks,
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Avatars - colour white appears black.
« Reply #3 on: August 10, 2007, 09:50:33 pm »

CPGs resize function doesn't preserve transparency. It'll appeare black instead

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Avatars - colour white appears black.
« Reply #4 on: August 12, 2007, 09:33:58 am »

Edit the original avatar (the one you created and downloaded from osterburken.net) and replace the background color with one that fits the background color of your site, save the changes, then upload the avatar.
Logged
Pages: [1]   Go Up
 

Page created in 0.047 seconds with 19 queries.