add image caption to lightbox if caption is set