Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: avatar background color if image too small


enlightenmental1
Participant

@enlightenmental1

thanks for the input,

looks like this will determine the background color…. (non transparent)

ImageColorAllocate ($handle, 255, 0, 0);

taken from:

http://php.about.com/od/advancedphp/ss/gd_library_2.htm

is this code something that exists in the bp-core avatars file?

im not sure where i would add this…

i\’ve looked in:

bp-core-avatars.php

wp-admin/includes/file.php

wp-admin/imcludes/image.php

i’m fine with hacking the core…

Skip to toolbar