How to run Magnific Popup for images loaded using Ajax?
Please help me to understand. There is a product card with pictures, which increase with Magnific Popup. Here everything works fine:
tLoading: 'Loading image #%curr%...',
preload: [0, 1]
Next, using Ajax request to load new product images. But there is already Magnific Popup does not see the generated class .wrap_img for a new product, accordingly, the Magnific Popup script doesn't work.