[TYPO3-dev] Bug in Image Object?
Stefano Kowalke
blueduck at gmx.net
Thu Oct 18 14:12:16 CEST 2007
Dear all,
i set up a selector for 3 languages (romanian, german, french, english) like
that in the tsref at page 87.
The selector works fine, the flags were shown and switch to the languages. Now
i want change the alttext of the image. This will
not work. Here comes the code:
lib.langNavi = HMENU
lib.langNavi {
special = language
special.value = 1,0,2,3
1 = GMENU
1{
noBlur = 1
NO {
XY = [5.w]+20, [5.h]+4
5 = IMAGE
5 {
file = media/flags/ro_RO.png || media/flags/de_DE.png ||
media/flags/fr_FR.png || media/flags/en_GB.png
altText = Romanian || German || French || English
}
}
}
}
This altText property have no effort to the <img>-Tag. T3 generates the tag
like that: <img src="typo3temp/menu/b59e7b987e.gif" width="25" height="15"
alt="Start" /> (T3 set the pagetitle as alttext)
I try to disable the alttext with "disableAltText = 1" and add the alt
property with "imgParams = alt="Foo" "to the <img>-Tag but T3 now generates
two alt propertys:
<img src="typo3temp/menu/b59e7b987e.gif" width="25" height="15" alt=""
alt="Foo" />
Is this a bug or do I something wrong?
Regards
Stefano
--
GPG-ID: 0x2B08936D
Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D
p
More information about the TYPO3-dev
mailing list