[TYPO3-english] Control tt_news image size by TemplaVoila, LOAD_REGISTER?

Lukas Mattsson lukas at antroposofi.info
Thu Feb 26 11:31:37 CET 2009


I know that I can have different image max widths for different columns 
by using this code in TemplaVoila XML
--------------
<TypoScript><![CDATA[
	10 = COA
	10 {
		10 = LOAD_REGISTER
		10.maxImageWidth = 494
		20 = RECORDS
		20.source.current=1
		20.tables = tt_content
		30 = RESTORE_REGISTER	
	}
]]></TypoScript>
-------------
It does however not work if the images is displayed by tt_news 
(displayLatest). How do I do a LOAD_REGISTER on 
plugin.tt_news.displayLatest.image.file.maxW in TemplaVoila, or can I 
tie plugin.tt_news.displayLatest.image.file.maxW to the value of 
maxImageWidth in some way?


More information about the TYPO3-english mailing list