code modification to display image on sumnmary page.