Added check for image_api.