hallo! Ich habe mir die Extension ccrandomimage geealden. habe diese auch entsprechen Konfiguriert und es funktioniert. Nun ist es ja so, dass immer das Bild mit HTML Tags ausgegeben wird. Also:
<img src="fileadmin/img/bild03.jpg" height="20" weight="200" alt="" />
Ich möchte aber nur den Pfad ausgeben. Also fileadmin/img/bild03.jpg
Wie kann ich das machen? Mein TS sieht so aus:
plugin.tx_ccrandomimage_pi1 {
path = fileadmin/img/_musiker/
fileExt = gif,png,jpg,jpeg
renderObj = COA
renderObj {
10 = IMAGE
10.file = ###FILE_1###
10.wrap = |
}
}
temp.randomImage = USER
temp.randomImage < plugin.tx_ccrandomimage_pi1
Besten dank für eure Hilfe!