[TYPO3-ttnews] maxW in displayLatest not working

Jesper Goos jesper at goos.dk
Mon Jul 28 19:53:30 CEST 2008


Hi

I have added a Latest news plugin to my page with TS.
Everything works fine, except the size of the image. There is one image 
attached to the news record, and it shows but in the wrong size. As you 
can see below I want the image to have a width of 220 px. But it has 
always only around 60 px width. What am I doing wrong? Hope someone can 
help me??

######################################################

lib.newsLatestProdukt < plugin.tt_news
lib.newsLatestProdukt.latestLimit = 1
lib.newsLatestProdukt.categorySelection = 6
lib.newsLatestProdukt.categoryMode = 1
lib.newsLatestProdukt.latestMaxW = 220
lib.newsLatestProdukt.displayLatest.image.file.maxW = 220
lib.newsLatestProdukt {
  code >
  code = LATEST
  pid_list >
  pid_list = 64 # the pids of the pages where your news are stored
  catImageMode = 0
  catTextMode = 0
  #displayLatest.image.file.maxW = 220
  templateFile = fileadmin/template/tt_news/template.html
}

[globalVar = TSFE:id = 2]
page.10.subparts.topright < lib.newsLatestProdukt

########################################################

Thanx!
Jesper Goos


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