ImageUploadResource create_obj fixed for image file and thumbnail creation.