TYPO3: Auto generated tt_news image using GIFBUILDER
If you have a image in your latest of list view sometimes you just don’t have a appropriate picture, but no picture would distroy your nice design. tt_news can automatically insert a generated image, using GIFBUILDER.
This TypoScript snippet is a latest view, but list is also posible.
Adjust the output by reading this.
plugin.tt_news.displayLatest.image.noImage_stdWrap {
cObject = IMAGE
cObject {
wrap = <div class="ttnews-no-image">|</div>
file = GIFBUILDER
file {
XY = {$plugin.tt_news.latestMaxW},{$plugin.tt_news.latestMaxH}
backColor = #3f5158
20 = TEXT
20 {
text = No image
fontSize = 16
niceText = 1
fontColor = #ccedfb
offset = {$plugin.tt_news.latestMaxW}/2-30, {$plugin.tt_news.latestMaxH}/2+4
}
}
}
}
