added lightbox support
added page preview support