added methods for generating images to the image model