add image and compile post