Einzelnen Beitrag anzeigen
  #1  
Alt 26.03.08, 13:33
Anderl Anderl ist offline
Forum Stammgast
 
Registriert seit: 01.09.06
Ort: Grafenwöhr
Alter: 32
Beiträge: 208

Probleme mit Bild in eigener Extension


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

Geändert von Anderl (26.03.08 um 14:04 Uhr).
Mit Zitat antworten