move id to figure from img