On 09/06/2017 10:54 AM, Vikram Mandal wrote:
On 09/05/2017 12:55 PM, Jigal van Hemert wrote:

If 'image' is the file reference object it would be {image.originalFile.width}



width and height are protected vars. To access them we need to use the getProperty() method.

Now the problem is how do call a method inside fluid template. One approach is building a viewhelper. The Vhs extension provides one.

{object -> v:call(method: 'toArray')}

--
Vikram
=============================
http://T3IN.COM
FiveE Technologies.
=============================
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to