[TYPO3] EXT develop path question
Bartosz Aninowski
bart at REMITsonik.pl
Fri Nov 17 11:09:55 CET 2006
Uzytkownik "Rocky Ou" <rockyo at max-source.com> napisal w wiadomosci
news:mailman.1.1163734868.24640.typo3-english at lists.netfielders.de...
> Hey list,
>
> I need my Front end plugin render some image from EXT's res directory. I
> use the following code does not give me the image in the browser. BTW, I
> tried extPath as well.
>
> $resPath=''.t3lib_extMgm::extRelPath($this->extKey).'';
> $content.='<h5><img src="'.$resPath.'res/header.jpg"></h5>
>
try this
$resPath=''.t3lib_extMgm::extRelPath($this->extKey).'';
$content.='<h5><img src="'.$resPath.'res/header.jpg" /></h5>
More information about the TYPO3-english
mailing list