PHP код:
$rows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('*','tx_zcatalogue_prod',tslib_cobj::enableFields('tx_zcatalogue_prod'));
$content = '<table>';
foreach($rows as $row){
$content .= $row['zname'].$row['zчто-то'];
$c = $this->conf['myimage'];
$c['file'] = $row['zimage'];
$content .= $this->cObj->IMAGE($c);
}
$content. = '</table>';
return $content;