PageSourceSearch

https://berecolabs.com/covid/js/jquery.zflickrfeed.min.js

js berecolabs.com collected 2026-09-30 22:14:48 UTC 1,307 bytes, 8 lines download raw bytes

1
2(function($){$.fn.flickrfeed=function(userid,tags,options){var defaults={limit:10,imagesize:'small',titletag:'h4',title:true,date:true};var options=$.extend(defaults,options);return this.each(function(i,e){var $e=$(e);var api='http://api.flickr.com/services/feeds/photos_public.gne?lang=en-us&format=json&jsoncallback=?';if(userid!='')api+='&id='+userid;if(tags!='')api+='&tags='+tags;$.getJSON(api,function(data){_callback(e,data,options);});});};var _callback=function(e,data,options){if(!data){return false;}
3var html='';html+='<ul>';var feeds=data.items;var count=feeds.length;if(count>options.limit)count=options.limit;for(var i=0;i<count;i++){var photo=feeds[i];var link='<a href="'+photo.link+'">';html+='<li>';var src=photo.media.m;if(options.imagesize=='square')src=src.replace('_m','_s');if(options.imagesize=='thumbnail')src=src.replace('_m','_t');if(options.imagesize=='medium')src=src.replace('_m','');html+=link+'<img src="'+src+'" alt="'+photo.title+'" /></a>'
4if(options.title)html+='<'+options.titletag+'>'+photo.title+'</'+options.titletag+'>';if(options.date){var photoDate=new Date(photo.date_taken);photoDate=photoDate.toLocaleDateString()+' '+photoDate.toLocaleTimeString();html+='<div>'+photoDate+'</div>';}
5html+='</li>';}
6html+='</ul>'
7$(e).html(html);};})(jQuery);		
8 

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.