pulling pictures from attachments