[TYPO3] Extracting all images from media field

Tyler Kraft headhunterxiii at yahoo.ca
Wed May 9 19:15:56 CEST 2007


you need to get the whole filed and use split and ',' then render as 1=coa

Do a search in the lists as I asked a similar question a while back and 
Peter Klien (I think it was Peter) gave a very helpful answer.

hth



Francois Suter wrote:
> Hi all,
> 
> On the site I am working on, users can add images and the media field 
> and they all should be displayed somewhere on the page, whatever the 
> number of images.
> 
> The following TS obviously display only the first image:
> 
> lib.cw_rightcolumn = COA
> lib.cw_rightcolumn {
>     10 = IMAGE
>     10.file {
>         import = uploads/media/
>         import.data = levelfield : -1, media , slide
>         import.listNum = 0
>     }
> }
> 
> If I remove importListNum = 0, it simply display nothing. Is there a way 
> to have a kind of loop on all images?
> 
> Thanks in advance for any help.
> 
> François Suter
> Directeur technique
> ------------------------------------------------------------------------------------------------------------------------------------- 
> 
> Cobweb Development Sàrl
> www.cobweb.ch
> ------------------------------------------------------------------------------------------------------------------------------------- 
> 
> 
> 


More information about the TYPO3-english mailing list