landsurveyorsunited / pwi

Automatically exported from code.google.com/p/pwi
0 stars 0 forks source link

pwi with specific albumid will get a 404 not found #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run the html as attached in Chrome
2.
3.

What is the expected output? What do you see instead?
a list of photos 

What version of the product are you using? On what browser and version and
operating system?

Link to site showing the described behaviour:
http://

Please provide any additional information below.
I noticed that there could be something wrong in jquery.pwi.js  as below. when 
I change the keyword album to albumid in the feed url then everything goes 
well. 

================================================================

     function getAlbum() {
            if (settings.photostore[settings.album]) {
                album(settings.photostore[settings.album]);
            } else {
                var $u = 'http://picasaweb.google.com/data/feed/api/user/' + settings.username + ((settings.album !== "") ? '/album/' + settings.album : "") + '?kind=photo&alt=json' + ((settings.authKey !== "") ? "&authkey=" + settings.authKey : "") + ((settings.keyword !== "") ? "&tag=" + settings.keyword : "") + '&imgmax=d&thumbsize=' + settings.thumbSize + ((settings.thumbCrop == 1) ? "c" : "u") + "," + settings.photoSize;
                show(true, '');
                $.getJSON($u, 'callback=?', album);
            }
            return $self;
        }

Original issue reported on code.google.com by jerome00...@gmail.com on 16 Nov 2011 at 6:03

Attachments:

GoogleCodeExporter commented 9 years ago
You should use the album name, not the album ID. In this case the album name 
would be TheMaliLookAPortrait.

Original comment by borkh...@gmail.com on 14 Dec 2011 at 4:39

GoogleCodeExporter commented 9 years ago
thanks.

Original comment by jerome00...@gmail.com on 15 Dec 2011 at 4:11