Re: cropping doesn’t work well…
I think I found the cause of all the errors.
If the original image is smaller than 150×150, then it produces the black areas within the result avatars.
a) we need a warning message the original is too small to generate avatar.
b) even if it’s smaller, the script should calculate and create a zoomed avatar, so the black areas are not generated.