code modification to display image on summary page