Changeset 2509
- Timestamp:
- 02/01/2010 10:35:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cssjs.php
r2281 r2509 78 78 $aspect_ratio = 1; 79 79 80 var_dump( $image ); 81 80 82 /* Calculate Aspect Ratio */ 81 83 if ( (int) constant( 'BP_AVATAR_FULL_HEIGHT' ) && ( (int) constant( 'BP_AVATAR_FULL_WIDTH' ) != (int) constant( 'BP_AVATAR_FULL_HEIGHT' ) ) ) … … 89 91 onSelect: updateCoords, 90 92 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 ?> ] 92 94 }); 93 95 });
Note: See TracChangeset
for help on using the changeset viewer.