edit to image wrapper