[TYPO3] img alt in rgsmoothgallery

Fearless Goblin (Victor Livakovsky) v-tyok at mail.ru
Thu Sep 11 22:31:00 CEST 2008


Hello to everyone.

rgsmoothgallery generates such code in plugin mode:
...
<div class="imageElement"><a href="typo3temp/GB/08f71b1e38.png" title="Open Image" class="open"></a>
     <img src="typo3temp/GB/b34e6ee6a5.png" class="full" />
     <img src="typo3temp/pics/84cce563ed.jpg" class="thumbnail" />
</div>
<div class="imageElement"><a href="typo3temp/GB/55a399858e.png" title="Open Image" class="open"></a>
     <img src="typo3temp/GB/fd7541d5c8.png" class="full" />
     <img src="typo3temp/pics/89a7828c95.jpg" class="thumbnail" />
</div>
...

As you can see, there are no alt attributes inside of img-tags. So,
the page cann't pass validation :(

There is "singleImage" elenent in gallery static template, so I tried
to set alt-attribute in such way:

temp.singleImage.10.altText.field = title

but nothing happened...

Does anybody knows, how can I setup alt-attribute for images, used in
rgsmoothgallery?



More information about the TYPO3-english mailing list