fix image paths in posts