[TYPO3-english] Replace images with ALT text

Tyler Kraft tyler.kraft at netefficiency.co.uk
Sat Feb 28 14:22:59 CET 2009


Hi

How soon do you need it and did you have a value in mind?

Tyler

Bob wrote:
> Thanks, Stephen, but I'm still getting the same result, i.e. I get the 
> ALT attribute for the image in a "Text w/image" item, but I lose the text.
> 
> Just to clarify, my code is currently as follows:
> 
> [globalString = IENV:REQUEST_URI = /low/*]
> tt_content.image >
> tt_content.image.20 = TEXT
> tt_content.image.20.field = altText
> tt_content.image.20.stripHtml = 1
> [global]
> 
> I'd be happy to pay someone to sort this out for me, if that helps. 
> (I'll also need images *within* the text portion to be processed 
> similarly). Looking at plugin.alt.plaintext suggests this ought to be 
> quite feasible, but beyond my own expertise...
> 
> Bob
> 
> 
> On 24/02/2009 11:26, 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