Use fileid instead of url for post attachments