PageSourceSearch

https://www.visitessex.com/javascript/resizeMobileImgGallery.js

js visitessex.com collected 2026-10-02 05:05:46 UTC 982 bytes, 24 lines download raw bytes

1(function () {
2
3	var mediaGalleryImage = $('div.mediaHeaderFull div.galItem:first-of-type img');
4       NewMind.ETWP.LazyLoadImages.LoadSpecificLazyImages(mediaGalleryImage);
5
6})();
7(function () {
8        //Check lazy loading handlers on page.
9        if (NewMind.ETWP.LazyLoadImages) {
10            // Preload callback resize Image function
11            NewMind.ETWP.LazyLoadImages.AddPreLoadCallback(resizeMobileImgGallery);
12        }
13
14        function resizeMobileImgGallery() {
15            // If Mobile then change image resizer action to mobile image resizer action.
16            // Else if super desktop load the super desktop image resizer action.
17            if (NewMind.Site.BreakPoints.IsNarrowMobileOnly() || NewMind.Site.BreakPoints.IsMobileOnly()) {                
18                NewMind.ETWP.LazyLoadImagesExtensions.RewriteImageResizerAction(
19                    'MediaGallery',
20                    'MediaGalleryMobile'
21                );
22            }
23        }
24})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.