Hallo,
in meiner Extension soll ein Bild (Hier den Adobe Reader downloaden) eingebunden werden.
Ich verwende folgenden PHP Code:
PHP-Code:
//Bild zum PDF Reader aus TypoScript
if ($this->conf['DownloadImagePath'])
{
$this->conf['DownloadImage.']['file'] = $this->conf['DownloadImagePath'];
}
else
{
$this->conf['DownloadImage.']['file'] = t3lib_extMgm::siteRelPath('ak_pdfarchiv').'/pi1/getadobereader.png';
}
//ALT Text
if ($this->conf['DownloadImageAltText'])
{
$this->conf['DownloadImage.']['altText'] = $this->conf['DownloadImageAltText'];
}
else
{
$this->conf['DownloadImage.']['altText'] = '';
}
//Bild zusammenbauen
//DIESE ZEILE IST LAUT FEHLERMELDUNG FEHLERHAFT
$readerimage=$this->lcObj->IMAGE($this->conf['DownloadImage.']);
$markerArray['###HINWEISLINK###']=$readerimage;
Leider erhalte ich einen FATAL ERROR. Ich sehe aber irgendwie den Fehler nicht?
Code:
Fatal error: Call to a member function on a non-object