Added callbacks for new onNewImage