The "full" size image was displaying as 288px, no matter what the admin settings were set to. On line 204 of picasa.module, the str_replace() was set to replace "imgmax" to the preferred image size. I don't know much about the Picasa API, but dissecting the image src URL (initially defined in the $image variable, line 200) revealed that the size of the image is set with ".../s$size/...", and no reference to "imgmax". I suspect a change in the API. So I changed the str_replace() on line 204 from
$image = str_replace("imgmax=288", "imgmax=".$thumbSize, $image);
to
$image = str_replace("s288", "s".$thumbSize, $image);
and that seems to work fine. Again, I don't know if there is a better way to go...but this still uses the GUI to define the size, and is as future-proof as I think it CAN be, given Google's propensity for changing stuff around.
Comments
Comment #1
cyberswat commentedFIxed in 5.x-3.1