Code: Select all
beforeShow : function() {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '')
}
Can you advise what variable I should be using to capture the actual image title.