I found modifying the URL to a fake one helped - however to make your page still work with the data I had to insert the sample data returned by the api call to flickr.
See the fiddle for full code
Javascript:
startTime = new Date();
$.mockjax({
url: URL,
responseTime: 5000,
responseText: {
"title": "Recent Uploads tagged flowers",
"link": "http://www.flickr.com/photos/tags/flowers/",
"description": "",
"modified": "2013-11-07T12:05:59Z",
"generator": "http://www.flickr.com/",
"items": [{
"title": "La saison d'été décline",
....
}]
}
});
$.getJSON(URL, {
tags: "flowers",
tagmode: "any",
format: "json"
},
function (data) {
endTime = new Date();
diffTime = new Date(endTime - startTime).getSeconds();
console.log('mocked ' + diffTime + ' seconds later:', data);
$.each(data.items, function (i, item) {
$("<img/>").attr("src", item.media.m).appendTo("#images");
if (i == 10) return false;
});
});