Hallo,
ich habe folgendes kleines Problem, hier meine Extension Konfiguration:
plugin.user_suche2009_pi1 {
intern = 1
template = fileadmin/templates/template_suche_intern.html
LIST {
image = IMAGE
image.file = GIFBUILDER
image.file {
format = jpg
XY = 55,55
backColor = #DDDDDD
10 = IMAGE
10.file = filename
10.file.width = 55
10.file.height=55
10.offset = 0,0
}
}
bild {
file.width=55
}
}
Und hier der PHP-Code:
$this->conf["LIST."]["image."]["file."]["10."]["file"] = $this->userImgPath.$row['image'];
$this->conf["LIST."]["image."]["altText"] = $row["username"];
echo $this->cObj->cObjGetSingle($this->conf["LIST."]["image"],$this->conf["LIST."]["image."]);
$this->conf["bild."]["file"] = $this->userImgPath.$row['image'];
echo $this->cObj->IMAGE($this->conf['bild.']);
Bei der ersten Variante bekomme ich nur ein graues Hintergrundbild, Variante zwei funktioniert. Was habe ich beim ersten übersehen/vergessen - so mache ich es nämlich normalerweise immer da ich hier mehr Möglichikeiten habe (Rahmen, Offset, etc.).
lg Matthias