Library independent lightbox-type image viewer