Skip to content

Instantly share code, notes, and snippets.

@BoweFrankema
Created February 23, 2015 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BoweFrankema/e1ac43d6385fcbc36f48 to your computer and use it in GitHub Desktop.
Save BoweFrankema/e1ac43d6385fcbc36f48 to your computer and use it in GitHub Desktop.
Default BuddyPress Avatar Settings
<?php
/**
* Change Default Avatar Size
*/
if ( !defined( 'BP_AVATAR_THUMB_WIDTH' ) ) {
define( 'BP_AVATAR_THUMB_WIDTH', 80 );
}
if ( !defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) {
define( 'BP_AVATAR_THUMB_HEIGHT', 80 );
}
if ( !defined( 'BP_AVATAR_FULL_WIDTH' ) ) {
define( 'BP_AVATAR_FULL_WIDTH', 400 );
}
if ( !defined( 'BP_AVATAR_FULL_HEIGHT' ) ) {
define( 'BP_AVATAR_FULL_HEIGHT', 400 );
}
if ( !defined( 'BP_AVATAR_ORIGINAL_MAX_WIDTH' ) ) {
define ( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 800 );
}
if ( !defined( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE' ) ) {
define ( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', 5120000 );
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment