Hey jfreake, now that you mentioned it I noticed that it seems to be broken again :S
I checked that both fixes are applied, removed the plugin and inserted it again, as well as I deactivated all other plugins so there might be another issue that causes the problem.
It’s quiet a bugger for I haven’t done anything to! The only thing that changed are the vhost settings since I moved the domain from one to another provider.
Probably I will let go of the idea to get it to work properly.
Also I coulnd’t get WP-Shadowbox to work on the Picasa Widget, I thought it might be sufficient to place a rel=”lightbox” in the $item[‘link’] as I failed to implement it in any of the three href lines.
$rss = fetch_rss("https://picasaweb.google.com/data/feed/base/user/".$options['username']."?kind=album&alt=rss&hl=en_US&access=public&max-results=".$maxres);
if (is_array($rss->items)) {
$i = 0;
foreach($rss->items as $item) {
$titlu = $item['title'];
$titlu = str_replace("'","",$titlu);
$titlu = str_replace('"',"",$titlu);
$link = $item['link'];
if($varianta==1)
$result .= "<li><a href=".$item['link']." target=_blank>".$titlu."</a></li><p>";
if (count($albums)!=0 && !in_array($item['title'],$albums))
continue;
preg_match('/.*src="(.*?)".*/',$item['description'],$sub);
$path = $sub[1];
$path = str_replace("s160-","s".$options['width']."-",$path);
if($varianta==2){
$result .= "<a href=".$link." target=_blank><img src=".$path." class=picasa-widget-img hspace=".$space." vspace=".$space." style='border:".$border."px ".($bcolor==""?"":"solid ".$bcolor)."' alt='$titlu' title='$titlu'></a>";
if($catecoloane!=1 )
if(($i+1) % $catecoloane==0)
$result .= "<br>";
else
$result .= "";
else
$result .= "<br>";
}
if($varianta==3){
if($i==$aleator){
if($options['stitle'])
$result .= "".$titlu."<br>";
$rss2 = fetch_rss(str_replace("entry","feed",$item['guid'])."&kind=photo");
if (!$rss2)
continue;
$j=0;
foreach($rss2->items as $item2) {
$titlu = $item2['title'];
$titlu = str_replace("'","",$titlu);
$titlu = str_replace('"',"",$titlu);
preg_match('/.*src="(.*?)".*/',$item2['description'],$sub);
$path = $sub[1];
$path = str_replace("s288","s".$options['width'].(picasa_widget_square($options['width'])?"-c":""),$path);
$pozele[$j++] = "<a href=".$item2['link']." target=_blank><img src=".$path." class=picasa-widget-img hspace=".$space." vspace=".$space." style='border:".$border."px ".($bcolor==""?"":"solid ".$bcolor)."' alt='$titlu' title='$titlu'></a>";