adding categories and images to all posts