added lightbox infrastructure