Corrected image upload problem with ajax view