Skip to:
Content
Pages
Categories
Search
Top
Bottom

reduce the maximum size avatar // gravatar


  • HDcms
    Participant

    @hdcms

    Hello,
    1 /
    I wanted to reduce the maximum size of the downloaded image to 400 KB
    Off I get this error message even with an image that has some ko
    “F4340.jpg exceeds the maximum download size of this site.”

    Is there any other place to make this limit?
    I looked until now https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/

    define ( 'BP_AVATAR_THUMB_WIDTH', 80 );
    define ( 'BP_AVATAR_THUMB_HEIGHT', 80 );
    define ( 'BP_AVATAR_FULL_WIDTH', 150 );
    define ( 'BP_AVATAR_FULL_HEIGHT', 150 );
    define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 800 );
    //define ( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', 400 );

    2 / on the other hand how to forbid the use of ravatar for some people who have a link with their email but iuamge is not acceptable for the site

    F4340.jpg excède la taille maximale de téléchargement de ce site.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar