[TYPO3] A GIFBUILDER cObject for tt_content.image

Georg Großberger grossberger at viamedia.at
Wed May 23 17:39:05 CEST 2007


Hi all,

I wanted all standard picture elements, to have a border, using some 
gif-Files for creating pins on the corners and a shadow. Therefore I just 
altered the code of CSS Styled Content a bit, like this:


tt_content.image.20 {
    1 {
        file = GIFBUILDER
        file {
            XY = [10.w]+4, [10.h]+4
            backColor = #FFFFFF

            10 = IMAGE
            10.file.import.current = 1
            10.offset = 2,2
            10.file.width.field = imagewidth

            ...
      }
}

Works fine so far, but now, the rendering does simply ingore the given 
height, and the click-enlarge function does not work either. As you can see, 
I just turned the file from import to Gifbuilder, and added some options 
inside, everthing else is left untouched.

Where may be the problem?





More information about the TYPO3-english mailing list