add image relative path revision surpport