How to call image in magnific popup plugin?

Quite a long time using this plugin. But first had to deal with this problem.
I tried to Google, found a solution but something goes wrong.

In General, the problem is this: I have a popup in which there are pictures. Click on the pictures they should open in magnific popup. I googled there write that is necessary as-that via ajax but in js knowledge is weak.
Here is a link to jsfiddle

The documentation of magnific popup
July 2nd 19 at 13:28
0 answer

Find more questions by tags jQueryAJAX