[TYPO3-ttnews] tx_news: output of category image in Templates/Category/List.html

Carsten Franz mail at carstenfranz.de
Wed Nov 12 09:46:41 CET 2014


Hi Georg and all,

someone gave me  this solution via mail -- and it seems to work:

Try:
<f:if condition="{child.item.images.0}">
<f:image image="{child.item.images.0}" alt="{child.item.title}" />
</f:if>

Instead of:
<img src="fileadmin/img/{child.item.image}" alt="{child.item.title}" />

I don't know why it's not in here, since it works. Well, thanks for helping me!

Carsten


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