how to make attachments and pictures work