image upload - thumbnail generation updated
Now it tries to get more meaningful crops without black borders.
It resize to meaningful size and get center of it.