abstract lightboxable
only create lightbox html when there are images