[TYPO3-english] dynamic backround image from Template/Constants
Philipp Holdener
philipp.holdener at me.com
Wed Aug 31 13:41:51 CEST 2011
Hi
> temp.pic = IMAGE
> temp.pic {
> file = GIFBUILDER
> file.XY = [10.w],[10.h]
> file.10 = IMAGE
> file.10 {
> file = {$bodybgpic}
> }
> }
>
> page.headerData.3 = TEXT
> page.headerData.3.value = <style type="text/css">body {background-image:
> url('
> page.headerData.4 = IMG_RESOURCE
> page.headerData.4.file < temp.pic
> page.headerData.5 = TEXT
> page.headerData.5.value = '); } </style>
shouldn't it be this way?
temp.pic = IMG_RESOURCE
temp.pic {
file = GIFBUILDER
file.XY = [10.w],[10.h]
file.10 = IMAGE
file.10 {
file = {$bodybgpic}
}
}
page.headerData.3 = TEXT
page.headerData.3.value = <style type="text/css">body {background-image:
url('
page.headerData.4 < temp.pic
page.headerData.5 = TEXT
page.headerData.5.value = '); } </style>
Greetings
Philipp
More information about the TYPO3-english
mailing list