add image info to posts