Updated to work with displayimage.jsp