combined upload_image and add_post calls