[Typo3-dev] IMAGE.alttext RC2 possible bug

Jose Antonio Guerra jaguerra at icticonsulting.com
Fri Apr 2 19:25:12 CEST 2004


Hi,

We've migrated a TYPO-site to 3.6.0.RC2 and we have found a possible
issue. We create some images with IMAGE TS content objects, but using
IMAGE "alttext" attribute does not set the <img alt="..."> parameter
correctly. It just inserts an empty alt="" (null string).

We've tried to workaround it by using " IMAGE.params = alt="Alt text" ",
but it still adds an empty " alt="" " at the end of the IMG tag, making
the first one unusable.

TS code is like this:

imageObj = IMAGE
imageObj {
    file = (...GIFBUILDER object...)
    alttext = The Alternative description
}

and generates..

<IMG src="......" alt="" title="" />

and the failed workaround...

imageObj = IMAGE
imageObj {
    file = (...GIFBUILDER object...)
    params = alt="The Alternative description"
}

generates...

<IMG src="......" alt="The Alternative description" alt="" title="" />

It worked fine on 3.6.0RC1

IMG "alt" attributes still work fine when generated by GMENU's or the
"Alt Text for Images" extension.


It's a bug? 


Jose Antonio Guerra Pablos
Dpto. Servicios Web e Internet
ICTI Consulting
Tlf: (+34) 926 274563
http://www.icticonsulting.com






More information about the TYPO3-dev mailing list