[TYPO3-english] tt_news image to have equal size

Girmangus Hailu girmangus at gmail.com
Thu Sep 1 09:03:56 CEST 2011


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


More information about the TYPO3-english mailing list