adding preview lightbox