Servus!
Ich möchte in meiner Extension gerne Bilder per cObj rendern.
Aber irgendwie klappt das nicht. Es wird nichts ausgegeben.
Was mach ich hier falsch?
$this->conf["catListView2."]["no_image"] = 'IMAGE';
$this->conf["catListView2."]["no_image."]["file"] = t3lib_div::getIndpEnv('TYPO3_SITE_URL').$this->conf["catListView2."]["no_image."]['imagePath'].$arr_image[0];
$this->conf["catListView2."]["no_image."]["altText"] = $row['title'];
$Bild = $this->cObj->IMAGE($this->conf["catListView2."]["no_image."]);
$content .= $Bild;
plugin.tx_meineEXT {
catListView2.no_image.imagePath = uploads/pics/
catListView2.no_image {
file.maxW = 160
imageLinkWrap = 1
imageLinkWrap {
enable = 1
wrap = |
width = 160
height = 325
}
}
Also, wenn ich den Pfad
t3lib_div::getIndpEnv('TYPO3_SITE_URL').$this->conf["catListView2."]["no_image."]['imagePath'].$arr_image[0];
ganz normal in einen <img>-Tag schreiben lasse, dann wird das Bild ausgegeben.
Ich danke Euch schon einmal.
8-)