[TYPO3] Mapping image, alttext and link in TV - problems
Darko Jr. Gonzalez
jkokino at gmail.com
Thu Jan 24 01:07:15 CET 2008
Hi Morten
> <a href=""><img src="" alt="alternate tekst" /></a>
>
>The goal is to map the link the image and the alternate tekst.
Mapping href as an attribute and the image as image goes fine.
But when I map the alternate tekst as an attribute I loose the mapping
of the image and get an error message. I have tried mapping the three
elements in all sorts of ways and orders but I allways loose the mapping
of the image, when I map the alternate tekst.
Do it like this, three mappings, three fields:
1. Map <a> tag's href attribute
2. Map <img> tag's src attribute with Link option selected
3. Map <img> tag's alt attribute as plain text
This works. For point 2 you get to have a browse button to choose and
add the image. And 3 is an input field to specify the alt attribute.
Regards,
Darko
More information about the TYPO3-english
mailing list