Hello again! It was copied wrong! The code I'm using is:
lib.baggrund = IMG_RESOURCE lib.baggrund { file.import = fileadmin/right_backgrounds/ file.import.field = media file.import.listNum = 0 stdWrap.wrap = <td class="right_content" style="background-image: url (fileadmin/backgrounds/|); background-repeat: no-repeat;"></td> } lib. baggrund < temp. baggrund Sorry! Best regards, Kristian [EMAIL PROTECTED] Den 07/09/2007 kl. 10.08 skrev Kristian Wind: > Hello Christopher! > > Can you give an example? I am missing a link of some sort. > > Could this be a way? > > lib.baggrund = IMG_RESOURCE > lib.baggrund { > file.import = fileadmin/right_backgrounds/ > file.import.field = media > file.import.listNum = 0 > stdWrap.wrap = <td class="right_content" style="background-image: url > (fileadmin/backgrounds/|); background-repeat: no-repeat;"></td> > } > lib.bild_b1 < temp.bild_b1 > > This returns: > > <td class="right_content" style="background-image: url(fileadmin/ > backgrounds/); background-repeat: no-repeat;"></td> > > I have added a picture to the "Files:" field in the page properties... > > > Best regards, > Kristian > > [EMAIL PROTECTED] > > > > Den 07/09/2007 kl. 9.34 skrev Christopher Torgalson: > >> Hi, >> >> On 9/7/07, Kristian Wind <[EMAIL PROTECTED]> wrote: >>> Hello everyone! >>> >>> This has been covered before, but there was no solution, as far as I >>> could see. >>> >>> What I need is to map the field "Files:" from the advanced page >>> properties into a backend style. Like this: >>> >>> <div id="example" style="background-image: url(fileadmin/ >>> backgrounds/ >>> PICTURE_GOES_HERE); background-repeat: no-repeat;"></div> >>> >>> How do I do that? >> >> >> Simple: use IMG_RESOURCE instead of IMAGE--IMG_RESOURCE returns the >> file location, not a complete img element. If you're interested in >> using TS to generate CSS on-the-fly, have a look at the extension >> bh_firtools. >> >> -- >> Christopher Torgalson >> http://www.typo3apprentice.com/ >> _______________________________________________ >> TYPO3-english mailing list >> TYPO3-english@lists.netfielders.de >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english > > _______________________________________________ > TYPO3-english mailing list > TYPO3-english@lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english