[TYPO3-templavoila] how to render image - and get path - from php

Christian Welzel gawain at camlann.de
Wed Oct 9 09:10:53 CEST 2013


Am 08.10.13 17:29, schrieb Erich Specht:
> I have a Flexible Content Element that holds the info about an event (name,
> date, image).  I'm rendering the content of the flexform in PHP as JSON,
> however the image simply lists the file name with no path.  Is there a way
> in PHP to size that image and get the path where the resized version exists?
> 

Take a look at this page:
http://wiki.typo3.org/TypoScript_-_PHP_Interaction#The_cObj_method

-- 
 MfG, Christian Welzel

  GPG-Key:     http://www.camlann.de/de/pgpkey.html
  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15


More information about the TYPO3-project-templavoila mailing list