Fixed use of the image module
refs #248