resizing user avatar & photo - fix