Added image upload support