function resizeImages() { $('#photoGallery_47012_1172497942 .galleryImg').each(function(key, value) { var minWidth = 300*1.5; // min width of image container before using full image var thisWidth = $(value).width(); var imageUrl = $(value).data('image-src'); var thumbUrl = $(value).data('thumb-src');
if (thisWidth >= minWidth) { $(value).css('background-image', 'url('+imageUrl+')') } else { $(value).css('background-image', 'url('+thumbUrl+')') } }); }
$(document).on('ready socast:reinit', function() { lightbox_47012_1172497942 = new Lightbox('lightbox_47012_1172497942',[{"type":"image","id":"526550","src":"https:\/\/stg-media-cdn.socastsrm.com\/wordpress\/wp-content\/blogs.dir\/1956\/files\/2025\/03\/goulds1.jpg","caption":"Lima caotured EVRYONES hearts!","description":""},{"type":"image","id":"526551","src":"https:\/\/stg-media-cdn.socastsrm.com\/wordpress\/wp-content\/blogs.dir\/1956\/files\/2025\/03\/goulds2.jpg","caption":"Limas new mom?!","description":""},{"type":"image","id":"526552","src":"https:\/\/stg-media-cdn.socastsrm.com\/wordpress\/wp-content\/blogs.dir\/1956\/files\/2025\/03\/goulds3.jpg","caption":"Stuart getting some Limo lovin'!","description":""},{"type":"image","id":"526553","src":"https:\/\/stg-media-cdn.socastsrm.com\/wordpress\/wp-content\/blogs.dir\/1956\/files\/2025\/03\/ncin1.jpg","caption":"NCIN at Gould's Brandsource","description":""},{"type":"image","id":"526554","src":"https:\/\/stg-media-cdn.socastsrm.com\/wordpress\/wp-content\/blogs.dir\/1956\/files\/2025\/03\/ncin2.jpg","caption":"Consider fostering! Even better? Adopt!","description":""},{"type":"image","id":"526555","src":"https:\/\/stg-media-cdn.socastsrm.com\/wordpress\/wp-content\/blogs.dir\/1956\/files\/2025\/03\/ncin3.jpg","caption":"So fluffy I could die!","description":""},{"type":"image","id":"526556","src":"https:\/\/stg-media-cdn.socastsrm.com\/wordpress\/wp-content\/blogs.dir\/1956\/files\/2025\/03\/ncin4.jpg","caption":"Acorn was the sleepiest boy!","description":""},{"type":"image","id":"526557","src":"https:\/\/stg-media-cdn.socastsrm.com\/wordpress\/wp-content\/blogs.dir\/1956\/files\/2025\/03\/ncin5.jpg","caption":"Just look at those sweet eyes!","description":""},{"type":"image","id":"526558","src":"https:\/\/stg-media-cdn.socastsrm.com\/wordpress\/wp-content\/blogs.dir\/1956\/files\/2025\/03\/ncin6.jpg","caption":"Pretty positive this fella is going home as well!","description":""},{"type":"image","id":"526559","src":"https:\/\/stg-media-cdn.socastsrm.com\/wordpress\/wp-content\/blogs.dir\/1956\/files\/2025\/03\/ncin7.jpg","caption":"NCIN Pets in Dryden","description":""}], true,false,false,{"id":"47012","name":"NCIN at Goulds March8/2025","num":"10","ago":"6 months ago"}); gallery_47012_1172497942 = new PhotoGallery(47012,1172497942,10); gallery_47012_1172497942.createColumns(1); gallery_47012_1172497942.showMore(); resizeImages(); });
$(window).on('resize', function() { resizeImages(); });
});


