[TYPO3-english] Replace images with ALT text
graham.solomon at powys.gov.uk
Tue Feb 24 16:01:59 CET 2009
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...
Stephens solution for textpic should work but I haven't tested :)
> 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