[buddypress-dev] A minor bug in bp-xprofile-avatars.php

Jerome jeromebeta at gmail.com
Sat May 31 18:53:23 GMT 2008


actually, it can not handel the exact 450*450 picture, so please change Line
131:

  if ( $size[0] < XPROFILE_AVATAR_V2_W || $size[1] <
XPROFILE_CROPPING_CANVAS_MAX ) {

to

  if ( $size[0] < XPROFILE_AVATAR_V2_W || $size[1] <=
XPROFILE_CROPPING_CANVAS_MAX ) {

and the prompt info in Line 132 need be changed accordingly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/buddypress-dev/attachments/20080531/0f6a5ffc/attachment.htm


More information about the buddypress-dev mailing list