Since Google changed the Picasa Web Albums Feed API, users have complained that the thumbnail size when they view albums in Drupal is too small ( see issue Something has changed.....)
I've not produced a patched picasa.module but if you make the following change to the beginning of the picasa_display_album_contents function, namely adding the thumbsize parameter to the feed call you should be able to fix the size problem.
function picasa_display_album_contents() {
global $base_url;
// generate the api url call and save the data as an array.^M
$thumbSize = variable_get('PICASA_THUMBNAIL_SIZE',144);
$apiCall = PICASA_API_URL.'user/'.variable_get('picasa_username', '');
$apiCall.= '/album/'.arg(1).'?kind=photo';
$apiCall.= '&thumbsize='.$thumbSize;
$picasa = picasa_parse_rpc($apiCall);
You can view my gallery to see an example of the fixed Album contents page at my Gallery
Feel free to contact me if you need some help..... hopefully I'll get around to producing a proper patch for Drupal.org




Recent comments
2 years 45 weeks ago