[TYPO3] Extracting all images from media field

Francois Suter fsuter at cobweb.ch
Wed May 9 19:31:34 CEST 2007


Hi Tyler,

> lib.images = COA
> lib.images {
>    10 = TEXT
>    10.data = page:media
>    10.split {
>      token = ,
>      cObjNum = 1
>      1 {
>       10 = IMAGE
>       10.file.import.current = 1
>       10.file.import = uploads/media/
>      }
>    }
> }

I nearly got there alone in the meantime. I just forgot the "file."  
property (again!) in the IMAGE object but my code was otherwise  
correct. Am I one proud bastard :-) Earned some additional TS stripes  
tonight :-)

Thanks a lot for your help. Christopher, thanks to you too.

Cheers

François Suter
Directeur technique
------------------------------------------------------------------------ 
-------------------------------------------------------------
Cobweb Development Sàrl
www.cobweb.ch
------------------------------------------------------------------------ 
-------------------------------------------------------------




More information about the TYPO3-english mailing list