added support for lightbox