wrap mod for image

Resolve #42