Initial work on the image formatter