A CodePen by taotsu. Conditional Lightbox for Responsive Design - Added a simple caption, via a data tag.