Einzelnen Beitrag anzeigen
  #3  
Alt 01.04.08, 11:22
rosieres rosieres ist offline
Forum Stammgast
 
Registriert seit: 12.07.07
Beiträge: 338

ts setup

plugin.tx_rsys_csv2front {

image {
imageLinkWrap = 1
imageLinkWrap {
enable = 1
ATagParams = rel="lightbox"
}
}


und in der pi1

PHP-Code:

    
foreach($words as $word){
    
        if(
preg_match('".jpg"'$word)===1){
            
$image = array(
             
'file' => 'fileadmin/farben/'.$word,
             );
      
$img $this->conf["image."];
      
$img['file'] = $image;
            
$word $this->cObj->IMAGE($img);
            
$content .= $word .' ';
        } else {
            
$content "<p>$word</p>";
        }

    } 
Wo ist der Fehler ... Container für das Bild bleibt leer . . .
Mit Zitat antworten