[TYPO3-dev] How to recover the real image path from a flexform record ?

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Oct 23 16:31:18 CEST 2007


Alban Cousinié wrote:
> Does anyone know a reliable method for recovering the missing path to the
> file ?

It is always relative to "uploadfolder" that you set in your flexform DS. Even if you select a file from fileadmin, it is always copied to upload folder and you will have only file name in xml. At runtime you just prepend upload folder name to it and get full path.

Read Core API doc for correponsing field (group or select).

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs




More information about the TYPO3-dev mailing list