Christopher Torgalson wrote: > Hi, > > On 6/15/07, Adam Harvie <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> I'm trying to construct a site where each page has an individual header >> image. I've used the Simple Page Header Selector plugin, and though the >> lack of documentation was troublesome, I eventually found and followed >> the instructions here: >> http://www.mcuniverse.com/Changing-Section-Pictures.193.0.html >> >> Those worked, and I've got the dynamic picture selection working. The >> problem is that the code inserts a full <img /> tag, and I'd rather just >> extract the path/image filename to use as a background property. >> >> # Top Section Picture >> temp.toppic = IMAGE >> temp.toppic { >> file = fileadmin/sitepics/mcu_home_0704.gif >> file.import.data = levelmedia: -1, "slide" >> file.import = uploads/media/ >> file.import.listNum = 0 >> file.import.override.field = media >> } >> ... >> >> subparts.toppic < temp.toppic >> >> Any tips? > > > Change "temp.toppic = IMAGE" to "temp.toppic = IMG_RESOURCE". > >
Ok, I've tried that, but now it just outputs a blank to that spot in the template? _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english