@alex999
15 years, 4 months ago
What I suggest is “height: auto and width: for example 50px as it is. Is that possible?
I tried to change the code as follows:
/* Define settings for avatars. [TODO] This will eventually end up as admin configurable settings */
define( ‘CORE_AVATAR_V1_W’, apply_filters( ‘bp_core_avatar_v1_w’, 90 ) );
define( ‘CORE_AVATAR_V1_H’, apply_filters( ‘bp_core_avatar_v1_h’, auto ) );
define( ‘CORE_AVATAR_V2_W’, apply_filters( ‘bp_core_avatar_v2_w’, 180 ) );
define( ‘CORE_AVATAR_V2_H’, apply_filters( ‘bp_core_avatar_v2_h’, auto ) );
define( ‘CORE_CROPPING_CANVAS_MAX’, apply_filters( ‘bp_core_avatar_cropping_canvas_max’, 450 ) );
define( ‘CORE_MAX_FILE_SIZE’, get_site_option(‘fileupload_maxk’) * 1024 );
Unfortunately it gives me an error message. I have no idea why….
Has anybody the solution for the problem?