cc_random_image
Zufallsbilder einbinden
Um Zufallsbilder einzubinden als Objekt in TS die Extension cc_random_image installieren und folgendes ins Setup des Templates:
includeLibs.tx_ccrandomimage = EXT:cc_random_image/pi1/class.tx_ccrandomimage_pi1.php
// USER_INT means 'no caching'
plugin.tx_ccrandomimage_pi1 = USER_INT
plugin.tx_ccrandomimage_pi1 {
path = {$plugin.tx_ccrandomimage_pi1.path}
fileExt = jpg,jpeg,gif,png
renderObj = COA
renderObj {
wrap =
10 = IMAGE
10.file = ###FILE_1###
# Alternativ: ###FILE_1_NAME###
10.wrap = |
20 >
}
}
Und später bei den Markern:
# ---------- RSYS_CONTENT_HEADERPICTURE ---------
RSYS_CONTENT_HEADERPICTURE < plugin.tx_ccrandomimage_pi1
# ---------- end RSYS_CONTENT_HEADERPICTURE ---------
Erstellt: 07/2010| Geändert: 10/2015