[TYPO3-templavoila] multiple images

Dmitry Dulepov [typo3] dmitry at typo3.org
Wed Oct 3 16:29:13 CEST 2007


Hi!

Andreas Stauder wrote:
> I tried to insert more than one image in the DS with:
> 
> -------------
> 
> <field_image type="array">
> [...]
> <TypoScript><![CDATA[
> 
> 5 = TEXT
> 5.field = field_image
> 5.split {
>     // token.char = ,
>     token.char = 44
>     cObjNum = 1
>     1 {
>         10 = IMAGE
>         10.file.import = uploads/tx_templavoila/
>         10.file.current = 1
>         10.file.listNum = 0
>         10.file.import.listNum = 1
>         10.file.maxW = 200
>     }
> }
>     
> ]]></TypoScript>
> </tx_templavoila>
> <TCEforms type="array">
> [...]
> <size>10</size>
> <maxitems>10</maxitems>
> [...]
> </field_image>
> 
> -------------
> 
> but no image appears. If I change the IMAGE to TEXT, all works fine and 
> the filenames are shown.

I think you should start from cleanup. You have several non-existing properties in your TS. Check all properties with TSRef. As soon as you get them in right places, it should work :)

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-project-templavoila mailing list