add lightbox support for image and video