First implementation of image creation