Fixing issue with upload image using Image old method