$(document).ready(function() {
var zoomCollection = '.large-image img';
$( zoomCollection ).elevateZoom({
zoomType : "inner",
lensSize :"350",
easing:true,
gallery:'thumb-slider',
cursor: 'pointer',
galleryActiveClass: "active"
});
$('.large-image img').magnificPopup({
items: [
{src: 'https://www.konferanskoltugu.org/image/cache/catalog/CAVİT/Felit%20Plastik%20Kapaklı-1228x817.jpg'},{src: 'https://www.konferanskoltugu.org/image/cache/catalog/CAVİT/Felit%20Plastik%20Kapaklı-1228x817.jpg'}, ],
gallery: { enabled: true, preload: [0,2] },
type: 'image',
mainClass: 'mfp-fade',
callbacks: {
open: function() {
var activeIndex = parseInt($('#thumb-slider .img.active').attr('data-index'));
var magnificPopup = $.magnificPopup.instance;
magnificPopup.goTo(activeIndex);
}
}
});
});