[TYPO3-mvc] Could not get image resource for ""
Stefano Kowalke
blueduck at gmx.net
Thu Feb 3 17:19:03 CET 2011
Hi,
i try the new FLUIDTEMPLATE as replacement of TV. So I have this TS:
10 = FLUIDTEMPLATE
10 {
file = fileadmin/templates/layout/html/index.html
partialRootPath = fileadmin/templates/layout/html/partial/
variables {
mylabel = TEXT
mylabel.value = Label from TS coming
uni = IMAGE
uni {
file = fileadmin/templates/layout/img/uni.jpg
}
}
}
The index.html contains this code:
<div id="main">
<div id="head">
<f:image src="{uni}" alt="{uni}" />
</div>
</div>
But I got this error: Could not get image resource for
"fileadmin/templates/layout/img/uni.jpg"
It looks like the base url wasn't prepend to relative path.
Did I miss something?
Regards,
Stefano
More information about the TYPO3-project-typo3v4mvc
mailing list