[TYPO3-english] backgroundimage4ce wrong path IMG_RESOURCE
Katja Lampela
katja.lampela at lieska.net
Wed Dec 3 18:23:54 CET 2014
Hi,
TYPO3 6.2.6 and backgroundimage4ce 2.0.2
The background image path is wrong, the file path is added behind the
realurl path, for example when on home page it is:
url(http://mydomain.com/home/fileadmin/backgroundimage.jpg)
should be of course:
url(http://mydomain.com/fileadmin/backgroundimage.jpg)
I don't know what causes this, css styles are found fine.
This is the extensions ts, do you have any hint how to make the path
discarde the realurl path part and just add the file path?
...
30 {
stdWrap {
wrap = background:|;
required = 1
}
10 = FILES
10 {
stdWrap {
wrap = url(|)
required = 1
}
references {
table = tt_content
uid.data = uid
fieldName = tx_backgroundimage4ce_image
}
renderObj = IMG_RESOURCE
renderObj {
file.import.data = file:current:originalUid // file:current:uid
}
}
...
--
Kind regards,
Katja Lampela
www.lieska.net
More information about the TYPO3-english
mailing list