viewer: read initial image in URL.

Use a hash like #file=path/to/file&img=INITIAL_IMAGE_ID