[TYPO3-english] tt_news image to have equal size

HocomAdvies [ Wiechert Hooghwinkel ] info at hocom-advies.nl
Thu Sep 1 09:25:13 CEST 2011


This does work for us. Might be useful for you. ? 


#equal images in list tt_news
plugin.tt_news {
  displayList {
  #empty the standard typo
  image.file.maxW >
  image.file.maxH >
  # images size desired
  image.file.width  = 120c
  image.file.height = 120c
  }
   }

Best regards,
HocomAdvies

Wiechert


HocomAdvies 
www.hocom-advies.nl
twitter.com/hocomadvies
0031 343 574 600


Op 1 sep. 2011, om 09:03 heeft Girmangus Hailu het volgende geschreven:

> Hello,
> 
> i want to have equal image sizes in the tt_news in the Display: LIST regardless
> the uploaded images may have different width and height so i wrote  the TS
> code below but the code doesn't work for me
> 
> plugin.tt_news {
> templateFile = {$filepaths}tt_news/tx_ttnews_pi1_template.html
> excludeAlreadyDisplayedNews = 1
> # rendering of LIST mode
> displayList {
> subheader_stdWrap {
> crop = 250 | ... | 1
> required = 1
> wrap >
> }
> content_stdWrap {
> wrap = <div class="newslistcontent">|</div>
> required = 1
> }
> image {
> file.width = 350
> file.height = 255
> imageLinkWrap = 0
> }
> 
> }
> 
> {
> 
> I need your help.
> 
> 
> Sincerely
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list