Initial code for lightbox.