Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • Alex999
    Participant

    @alex999

    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….


    Alex999
    Participant

    @alex999

    Has anybody the solution for the problem?

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar