Skip to:
Content

BuddyPress.org

Changeset 2509


Ignore:
Timestamp:
02/01/2010 10:35:21 AM (14 years ago)
Author:
apeatling
Message:

Fixes #1363

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-cssjs.php

    r2281 r2509  
    7878    $aspect_ratio = 1;
    7979
     80    var_dump( $image );
     81
    8082    /* Calculate Aspect Ratio */
    8183    if ( (int) constant( 'BP_AVATAR_FULL_HEIGHT' ) && ( (int) constant( 'BP_AVATAR_FULL_WIDTH' ) != (int) constant( 'BP_AVATAR_FULL_HEIGHT' ) ) )
     
    8991                onSelect: updateCoords,
    9092                aspectRatio: <?php echo $aspect_ratio ?>,
    91                 setSelect: [ 50, 50, 200, 200 ]
     93                setSelect: [ 50, 50, <?php echo $image[0] / 2 ?>, <?php echo $image[1] / 2 ?> ]
    9294            });
    9395        });
Note: See TracChangeset for help on using the changeset viewer.