Include both title and description when showing lightboxed images
This commit is contained in:
parent
ae56066281
commit
766d27301a
|
@ -130,7 +130,7 @@ function showImage(clickedElement) {
|
|||
lightboxImages.forEach(function(image, index) {
|
||||
if ( image.id == imageid ) startIndex = index;
|
||||
images.push(image.imageurl);
|
||||
captions.push(image.description);
|
||||
captions.push(image.title + ((image.description != "") ? ": " + image.description : ""));
|
||||
});
|
||||
SimpleLightbox.open({
|
||||
items: images,
|
||||
|
|
Loading…
Reference in New Issue
Block a user