jQuery(function($) { $('.single-post .entry-content').find('a[href$=".gif"], a[href$=".jpg"], a[href$=".png"], a[href$=".bmp"]').magnificPopup({type:'image'}); });

 

https://n3qd45.a2cdn1.secureserver.net/wp-content/uploads/2021/12/YOPBC-holidays21-22.jpg