`;
} else {
htmlGalleryToInsert = `
play_circle_filled
`;
}
$('.my-gallery-large').append(htmlGalleryToInsert);
} else {
if (isImageBroken(imgs[x])) {
continue;
}
const htmlGalleryToInsert = `
`;
$('.my-gallery-large').append(htmlGalleryToInsert);
}
countImagesFull++;
}
let countImages = 0;
for (let x = 0; x < imgs.length; x++) {
if (countImages === 4) {
// todo set count
break;
}
if (isImageBroken(imgs[x])) {
// skip
} else {
let counterHtml = '';
if (countImages === 3 && (x + 1 !== imgs.length) && (countImages + 1 !== imgs.length)) {
counterHtml = `
See all ${countImagesFull} photos
`;
}
if (imgs[x].src.includes('youtube') || imgs[x].src.includes('vimeo')) {
const htmlThumbToInsert = `
play_circle_filled

${counterHtml}
`;
$('.xt-prod-images-inner').append(htmlThumbToInsert);
} else {
const htmlThumbToInsert = `

${counterHtml}
`;
$('.xt-prod-images-inner').append(htmlThumbToInsert);
}
countImages++;
}
}
if (countImages === 0) {
$('#media-gallery').hide();
}
const gallery = new Gallery($('#gallery'));
gallery.Init();
});
document.addEventListener("DOMContentLoaded", function () {
const img = document.getElementById("logo-img");
if (img) {
img.onerror = function () {
// Replace the background image div
const bgDiv = document.querySelector(".xt-logo-bg");
if (bgDiv) {
bgDiv.className = "xt-logo-bg xt-logo-noimg";
bgDiv.style.backgroundImage = "";
bgDiv.innerHTML = " ";
}
// Replace the image content with SVG fallback
const imgWrapper = document.querySelector(".xt-logo-img");
if (imgWrapper) {
imgWrapper.innerHTML = `
`;
}
};
}
});
PRODUCTIONS
More Productions by Opening Date
Chéri
Oct 12, 1959
Nov 28, 1959