Talk:Gallery2:Modules:Lightbox - Gallery Codex
Personal tools

Talk:Gallery2:Modules:Lightbox

From Gallery Codex

Link to the Lightbox script is no longer valid. This one should work better:

http://www.huddletogether.com/projects/lightbox2/#download

theme.inc modification creates error if descendentCount is undefined

Shouldn't it be

foreach ($theme['children'] as $id=>$item){
			if(isset($item['descendentCount'])){
				if ($item['descendentCount'] >0 ){
		            list ($ret, $Descendent) = GalleryCoreApi::fetchItemizedDescendentCounts(array($item['id']));
		            $theme['children'][$id]['Descendent'] = $Descendent[$item['id']];
	          }				
			}
		}

instead? --Benz 04:31, 2 February 2009 (UTC)