Fixed passing of path parameter to image viewer page.