Manipulating Lightbox

How do I send information from the item selected from the gallery into the lightbox. Would the getCurrentItem function work