add image info when edit post