jQuery(document).ready(function ($) { var cssClass = ""; var clipPathUrl = "svg-shape-1556356872341"; var shapeEnabled = "0"; $(document).on("click", "#sppb-addon-1556356872341 .sppb-image-lightbox", function (event) { event.preventDefault(); var $this = $(this); function applyStyles(img){ var figure = $(".mfp-figure"); var height = img[0].naturalHeight; if(shapeEnabled == 1){ figure.attr("has-shape", ""); img.css("max-height", height); img.css("padding", 0); if(cssClass){ img.addClass(cssClass); } if (clipPathUrl) { img.css("clip-path", "url(#" + clipPathUrl + ")"); } } } if ($.magnificPopup.instance) { $.magnificPopup.close(); } if ($this.magnificPopup) { $this.magnificPopup({ type: $this.data("popup_type"), mainClass: $this.data("mainclass"), callbacks: { imageLoadComplete: function () { var img = this.currItem.img; applyStyles(img); } } }).magnificPopup("open"); } }); });
Rottenburger Schlossgeister Masken
Fliegende Schloßgeister

Kontakt mit den Rottenburger Schlossgeistern