[TYPO3] Typo3 adds _1.jpg, _2.jpg etc. when choosing same image for background
Brian Bendtsen
nightowl at galnet.dk
Thu Dec 28 14:03:46 CET 2006
Hi
I have a site where the users can change the background image. The TS
setup looks like this:
lib.singleImage = IMG_RESOURCE
lib.singleImage {
# Default image if no image is inserted on the page
file =
file.import.data = levelmedia: -1, "slide"
#Folder to upload the userdefined images to
file.import = fileadmin/user_upload/portefølje - websize/
file.import.listNum = 0
file.import.override.field = media
stdWrap.wrap = background: url( | ) no-repeat;width: 100%; height:
100%; background-position: center center;
}
The problem is, when they choose the same image for some pages the
imagename is followed by _1.jpg or _2.jpg and then it cant be found.
How do I work around this?
/Brian Bendtsen
More information about the TYPO3-english
mailing list