} else if ( div.attr("class") == "cover-image local-coverimg" ) {
lightbox_descriptions.push(_("Local cover image"));
} else {
console.log("Source of the image cannot be guessed.")
lightbox_descriptins.push(_("Cover image source unknown"));
}
-