CMS MADE SIMPLE FORGE

Picasa Browser

 

[#1731] Possibility to display unlisted albums.

avatar
Created By: Benjamin ter Kuile (bterkuile)
Date Submitted: 2007-08-31 09:05

Assigned To:
Resolution: None
State: Open
Summary:
Possibility to display unlisted albums.
Detailed Description:
In picasa web albums you can create unlisted albums. It would be cool to be able
to display these as well with this module because I like this module.
Something as {cms_module module="Picas..." user="user"
album="album?authkey=laskdfjkl"} should be cool.

History

Comments
avatar
Date: 2007-08-31 09:32
Posted By: Benjamin ter Kuile (bterkuile)

This can be done with a little and ugly change to the code:

function getAlbumContent($userId, $albumName, $albumId, $imageSize,
$imageThumbSize)
    {
        if(isset($albumName)){
if(strpos($albumName,'?')) $url =
'http://picasaweb.google.com/data/feed/api/user/'.urlencode($userId)
.'/album/'.$albumName.'&kind=photo&imgmax='.$imageSize.'&thumbsize='.$imageThumbSize;
else $url =
'http://picasaweb.google.com/data/feed/api/user/'.urlencode($userId)
.'/album/'.urlencode($albumName).'?kind=photo&imgmax='.$imageSize.'&thumbsize='.$imageThumbSize;
        }
      
avatar
Date: 2007-08-31 18:05
Posted By: Rorik Melberg (rmelberg)

I wasn't really intending on allowing access to private albums, but it seems the
best way to solve this is to add an authkey attribute that could be included in
the query string.  I will take a look to see how difficult this will be to
insert into the code.

Rorik