Minimum Avatar-Size
-
I’m using the default Buddypress-Theme and there are 2 Avatar-Sizes (150px and 50px) – That great but I’d like to avoid that users can upload smaller Pics.
I’ve looked at the code in bp-core-avatars.php:
function bp_core_check_avatar_dimensions($file) {
$size = getimagesize($file);
...
This function is not used – But I tried to add a if-clause using this function but then every picture – how big or small it may be – gets refused.
Any Ideas how to resolve this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Minimum Avatar-Size’ is closed to new replies.