[TYPO3-mvc] Resolve file path from file:xx

Frans Saris franssaris at gmail.com
Tue Jul 21 12:57:51 CEST 2015


Hi,

to get the public path to use in html output use: $file->getPublicUrl().

If you need the absolute path use: $file->getForLocalProcessing(FALSE);
If you need the absolute path because you want to do manipulations to the
file and save it as a different one use $file->getForLocalProcessing(TRUE);

gr. Frans

Op vr 17 jul. 2015 om 10:35 schreef Sebastian Zarges <
sebastian.zarges at ewikon.com>:

> Hi,
> have you solved the problem?
>
> Does anybody have the solution to resolve "file: xx" value?
>
> Thanks in advance
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


More information about the TYPO3-project-typo3v4mvc mailing list