added example for how to create an image