Permalink
Browse files

Update flickr/js/supersized.flickr.1.1.2.js

Changed line 170 from 'item.owner' to 'data.photoset.owner' because that's where the Owner ID is in Flickr's JSON response.
If this line isn't changed, then supersized creates URLs images with 'undefined' as the USER ID.
  • Loading branch information...
1 parent eabdb46 commit 67d2c2534658eaf26cf0d6e8f2c76551a6b9037f @JamesChevalier JamesChevalier committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 flickr/js/supersized.flickr.1.1.2.js
View
2 flickr/js/supersized.flickr.1.1.2.js
@@ -167,7 +167,7 @@
//create image urls
var photoURL = 'http://farm' + item.farm + '.static.flickr.com/' + item.server + '/' + item.id + '_' + item.secret + '_' + options.image_size + '.jpg';
var thumbURL = 'http://farm' + item.farm + '.static.flickr.com/' + item.server + '/' + item.id + '_' + item.secret + '_t.jpg';
- var photoLink = "http://www.flickr.com/photos/" + item.owner + "/" + item.id + "/";
+ var photoLink = "http://www.flickr.com/photos/" + data.photoset.owner + "/" + item.id + "/";
if (i == 0){
options.slides.splice(0,1,{ image : photoURL, thumb : thumbURL, title : item.title , url : photoLink });

0 comments on commit 67d2c25

Please sign in to comment.