code: function getImageSize( flickrJson, photo_id, photo_size ){
    var sizeInfo = {"width":0, "height":0};
    
    var sizeTable = {
        "s": "Square",
        "q": "Large Square",
        "t": "Thumbnail",
        "m": "Small",
        "n": "Small 320",
        "-" : "Medium",
        "z": "Medium 640",
        "c": "Medium 800",
        "b": "Large",
        "o": "Original"
    }
    
    if(flickrJson && flickrJson.sizes.size){
      for(var i=0; i<flickrJson.sizes.size.length; i++){
        if(flickrJson.sizes.size[i].label == sizeTable[photo_size]){
          sizeInfo.width  = flickrJson.sizes.size[i].width;
          sizeInfo.height = flickrJson.sizes.size[i].height;
        }
      }
    }
    
    return sizeInfo;
  }
docs: get image size