Attach and edit an image