Add glance sync image functionality