implements insert image

Solves #56