[Typo3] dynamic image creation via typoscript within TV

Esan magic at senvita.de
Wed Aug 24 16:39:55 CEST 2005


For those who are interested. I finally found the solution myself. It almost drove me nuts...

I used the better_stdWrap Extension, thanx for this piece of code.

10 = COA
10{
        12 = IMAGE
	12.file.import = uploads/tx_templavoila/
	12.file.import.current = 1
	12.file.import.listNum = 0
        12.file.typolink.parameter.field = field_imageurl
        12.stdWrap.if.value.data = glob:TSFE:lastImageInfo:0
        12.stdWrap.if.isGreaterThan = 187 

        stdWrap.ifEmpty.cObject  = COA
        stdWrap.ifEmpty.cObject { 
	
        12 = IMAGE
	12.file.import = uploads/tx_templavoila/
	12.file.import.current = 1
	12.file.import.listNum = 0
        12.file.typolink.parameter.field = field_imageurl
        12.file = GIFBUILDER
        12.file  {
		10 = IMAGE
		10.file.import = uploads/tx_templavoila/
		10.file.import.current = 1
		10.file.import.listNum = 0       

                10.file.maxW = 600
                10.file.maxH = 600             

                XY = [10.w],[10.h]   
              
        	11 = SCALE 
                11.params = -scale '187>' 
           }
        }
}


- Esan (esanakoko)

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110135018/
					



More information about the TYPO3-english mailing list