Better image templating
Unable to write test case for get image