added support for displaying an image on the result page