[TYPO3-english] Generate all RTE images using GIFBUILDER
    Rens Admiraal 
    renst3 at e-rank.nl
       
    Thu Feb 18 11:12:28 CET 2010
    
    
  
We are trying to generate all images in the RTE using GIFBUILDER, to add a
shadow for example. Just displaying the image using lib.parseFunc_RTE.tags
is no problem:
# Working
lib.parseFunc_RTE.tags.img = IMAGE
lib.parseFunc_RTE.tags.img {
                file.import.data = parameters:src
}
 
But how can we convert this to a GIFBUILDER object? This snippet isn't
working (it just displays an empty 100x100 box):
lib.parseFunc_RTE.tags.img = IMAGE
lib.parseFunc_RTE.tags.img {
                file = GIFBUILDER
                file {
                               XY = 100,100
                               
                               10 = IMAGE
                               10 {
                                               file.import {
                                                               data =
parameters:src
                                               }
                               }
                }
}
 
Greetz,
Rens
    
    
More information about the TYPO3-english
mailing list