Skip to content

Commit 67d2c25

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.
1 parent eabdb46 commit 67d2c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flickr/js/supersized.flickr.1.1.2.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
//create image urls
168168
var photoURL = 'http://farm' + item.farm + '.static.flickr.com/' + item.server + '/' + item.id + '_' + item.secret + '_' + options.image_size + '.jpg';
169169
var thumbURL = 'http://farm' + item.farm + '.static.flickr.com/' + item.server + '/' + item.id + '_' + item.secret + '_t.jpg';
170-
var photoLink = "http://www.flickr.com/photos/" + item.owner + "/" + item.id + "/";
170+
var photoLink = "http://www.flickr.com/photos/" + data.photoset.owner + "/" + item.id + "/";
171171

172172
if (i == 0){
173173
options.slides.splice(0,1,{ image : photoURL, thumb : thumbURL, title : item.title , url : photoLink });

0 commit comments

Comments
 (0)