add image and type to pages