Use an event to open the lightbox