Fix image uplaod and crop