[TYPO3] IMGTEXT

Tyler Kraft headhunterxiii at yahoo.ca
Fri Dec 22 09:12:02 CET 2006


Hi Peter

Thanks so much.... I knew there must be a way to do it! That was what I 
was going to do but then I didn't quite know how to do the image 
creation - so was going to pass it to a small little userFunc to do the 
images - now I don't need to ;-)

Thanks and have a good Christmas and New Year.

Tyler




Peter Klein wrote:
> Hi Tyler. you can read the media field as a TEXT field, and then split it at 
> each comma, like this:
> 
> -- cut --
> 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/
>     }
>   }
> }
> -- cut --
> 
> The above code will show all the images attached to the media field of the 
> page..
> 
> --
> Peter Klein / Umloud Untd
> 
> 
> "Tyler Kraft" <headhunterxiii at yahoo.ca> wrote in message 
> news:mailman.1.1166710886.23387.typo3-english at lists.netfielders.de...
>> Hi
>>
>> Need a little help here... I'm probably just overlooking something minor.
>>
>> I want to be able to upload images to the media field of the page, and 
>> then render them. I have no problem doing one image or multiple images 
>> using the IMAGE type and the listNum. But...
>>
>> What I really want to do is something like the IMGTEXT where I can use the 
>> imgList property. And I have this working but the html generated is crap 
>> (verbose tables and clear.gif junk). Is there anyway to do this with out 
>> using IMGTEXT or using IMGTEXT but with better markup?
>>
>> Basically all I want is to give a list of images from the pages media 
>> field and get a list of clean <img src="blah.gif" width="70" height="70" 
>> alt="" /> html.
>>
>> Thanks 
> 
> 


More information about the TYPO3-english mailing list