flickr test

// Our very special jQuery JSON fucntion call to Flickr, gets details // of the most recent 20 images $.getJSON("http://api.flickr.com/services/feeds/groups_pool.gne?id= 998875@N22〈=en-us&format=json&jsoncallback=?", displayImages); function displayImages(data) { // Start putting together the HTML string var htmlString = ""; // Now start cycling through our array of Flickr photo details $.each(data.items, function(i,item){ // I only want the ickle square thumbnails var sourceSquare = (item.media.m).replace("_m.jpg", "_s.jpg"); // Here's where we piece together the HTML htmlString += '
  • '; htmlString += ''; htmlString += item.title + ''; htmlString += '
  • '; }); // Pop our HTML in the #images DIV $('#images').html(htmlString); // Close down the JSON function call }

    About this Archive

    Find recent content on the main index or look in the archives to find all content.

    Monthly Archives

    Pages

    Powered by Movable Type 5.2.2