fix flipImage bug for image attachments