Hallo Stranger
Habe nun die Methode tl_gallery_creator_pictures::childRecordCallback() etwas angepasst, so dass bebreadcrumb keinen Fehler mehr auswerfen sollte.
Grüsse Marko
Code:
public function childRecordCallback($arrRow)
{
$time = time();
$key = ($arrRow['published'] == '1') ? 'published' : 'unpublished';
$date = $this->parseDate($GLOBALS['TL_CONFIG']['datimFormat'], $arrRow['date']);
//nächste Zeile nötig, da be_bredcrumb sonst bei "mehrere bearbeiten" hier einen Fehler produziert
if (!is_file(TL_ROOT ."/".$arrRow['path'] . '/' . $arrRow['name']))return "";
$objFile = new File($arrRow['path'] . '/' . $arrRow['name']);
if ($objFile->isGdImage)
{
$src = $arrRow['path'] . '/' . $arrRow['name'];
return '
<div class="cte_type ' . $key . '"><strong>' . $arrRow['headline'] . '</strong> - ' . $arrRow['name'] . ' [' .$objFile->width. ' x ' . $objFile->height . ' px, '.$this->getReadableSize($objFile->filesize).']</div>
<div class="block"><img src="' . $this->getImage($src,"100","","proportional") . '" /></div>
<div class="limit_height' . (!$GLOBALS['TL_CONFIG']['doNotCollapse'] ? ' h64' : '') . ' block">
' . (($arrRow['comment'] != '') ? $arrRow['comment'] : '') . '
</div>' . "\n";
}
}