Don't find the correct class for my script.
Author: Burnside666Created Mar 26, 2025Updated Mar 26, 2025
Hi All,
I try to make this popup working, but without success.
**My PHP code:**
`
';
}`
**My Javascript:**
`$(document).ready(function() {
$('.images-links').each(function() {
$(this).magnificPopup({
delegate: 'a',
type: 'image',
gallery: {
enabled:true
}
});
});
});`
So if I remove the class **imgs** the code is working, but if I have it in my php code the modal didn't work anymore.
Any idea of what I missing?
Regards,
Burnside
Source: dimsemenov/Magnific-Popup


