Team:UCL London/files/gallery

From 2010.igem.org

Revision as of 22:34, 24 October 2010 by Zcbee12 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

jQuery.getJSON("http://api.flickr.com/services/rest/?format=json&method=flickr.photos.search&user_id=53593547@N06&per_page=500&api_key=6ac7cb837a2c4eb4ecc84bd1e192a8d0&jsoncallback=?", function(data){ var fullhtml = ; jQuery.each(data.photos.photo, function(i,p){

var url = 'http://farm' + p.farm + '.static.flickr.com/' + p.server + '/' + p.id + '_' + p.secret;

var full = url + '_b.jpg'; var picture = url + '_m.jpg';

var html = '';

fullhtml += html }); $(fullhtml).appendTo('#gallery'); });

// http://api.flickr.com/services/feeds/photos_public.gne?id=53593547@N06&format=json&jsoncallback=? // http://api.flickr.com/services/rest/?format=json&method=flickr.photos.search&user_id=53593547@N06&api_key=6ac7cb837a2c4eb4ecc84bd1e192a8d0&jsoncallback=?