support attachments when posting content

support attachments when posting content