[TYPO3-mvc] How to get to cObj->IMAGE

Steffen Müller typo3 at t3node.com
Mon Jan 10 12:46:20 CET 2011


Hi.

On 10.01.2011 08:46 Dawid Pacholczyk wrote:
> There are many thing from the cObj object that can be usefull. Is there
> any way to get to them directly ?
>

A generic way to render cObjects is the cObject viewhelper:

<f:cObject typoscriptObjectPath="lib.myImage" />

lib.myImage = IMAGE
lib.myImage.file = fileadmin/user_upload/images/example.jpg
lib.myImage.altText = Example image

-- 
cheers,
Steffen

TYPO3 Blog: http://www.t3node.com/
Twitter:  http://twitter.com/t3node



More information about the TYPO3-project-typo3v4mvc mailing list