added function to allow image to be displayed on product view page
ref #20