[TYPO3-ttnews] Add a class to the image tag

Mark Schmidt markschmidt at inbox.lv
Tue Jan 9 15:31:23 CET 2007


Hi Martin,

i meant it the other way round.

I wanted to do something like
plugin.tt_news.displaySingle.imageWrapIfAny = <div class="image" 
id="THEALTTEXTOFTHEIMAGE">|</div>
or even better
plugin.tt_news.displaySingle.imageWrapIfAny = <div class="image">|<br 
/>THEALTTEXTOFTHEIMAGE</div> (for automatic picture subheaders)

Thanks!

Mark

Martin Schmidt wrote:
> Image Alt comes from Typo3 afaik ?
> You enter it when uploading a picture...why overwrite it ?
> I guess you could set a default for that with:
> 
>  plugin.tt_news.displaySingle.imgAltTextField =
> 
> Martin
> 
> "Mark Schmidt" <markschmidt at inbox.lv> schrieb im Newsbeitrag 
> news:mailman.1.1168347266.17930.typo3-project-tt-news at lists.netfielders.de...
>> Hmmmm....
>>
>> would it be possible to include the image alt text in this wrap?
>>
>> Thanks a lot!
>>
>>
>> Martin Schmidt wrote:
>>>  plugin.tt_news.displaySingle.imageWrapIfAny = <div class="image">|</div>
>>>
>>> Works for all the other views as well...
>>>
>>> Martin
>>>
>>> "litter" <graastein at gmail.com> schrieb im Newsbeitrag 
>>> news:mailman.1.1168298656.13557.typo3-project-tt-news at lists.netfielders.de...
>>>> Hello
>>>>
>>>> Is it possible to add a class to the image tag? Or do I have to wrap the 
>>>> image if I want to use css on it?
>>>>
>>>> Kristian
> 


More information about the TYPO3-project-tt-news mailing list