[TYPO3-english] Replace images with ALT text

Bob bitsandbob at googlemail.com
Sat Feb 28 13:42:20 CET 2009


Hi Graham,

Thanks for the tip, but it didn't work for me...

Bob


On 24/02/2009 15:01, Graham Solomon wrote:
> Hi Bob,
> 
> Sorry I assumed it was just for a specific template not page type, the 
> following condition should work if you're using page types to change look:
> 
> [globalVar = TSFE:page|doktype= doktype-number-here]
>     // TS here...
> [global]
> 
> Stephens solution for textpic should work but I haven't tested :)
> 
> 
> Graham
> 
> 
> StephenBungert wrote:
>> try:
>>
>> ...
>> tt_content.image >
>> tt_content.image.20 = TEXT
>> tt_content.image.20.field = altText
>> tt_content.image.20.stripHtml = 1 ...
>>
>> tt_content.text pic copies tt_content.image.20 for the image part, so 
>> maybe
>> just changing image like above would be enough.
>>
>> -----


More information about the TYPO3-english mailing list