image viewer now working