check your code....remove 1 extra "}"
it should work
i found another bug....if a gif dimension is smaller than avatarmaxdimension in setting then this hack will not run. and the size will not change
forexample a user have a gif avatar with size 1mb and dimension is smaller than the one i specified in setting than he will be able to upload his avatar.... so u need to change the code in admin/functions.php
|