NormalizedUrl ViewHelper <core:normalizedUrl>
Note
This ViewHelper is not available by default.
Import its namespace
{namespace core=TYPO3\ in the Fluid file or
xmlns: in the opening HTML tag.
Internal
This ViewHelper is marked as internal. It is subject to be changed without notice. Use at your own risk.
ViewHelper to normalize a path that uses EXT: syntax or an absolute URL to an absolute web path.
<core:normalizedUrl pathOrUrl="https://foo.bar/img.jpg" />
<core:normalizedUrl pathOrUrl="EXT:core/Resources/Public/Images/typo3_black.svg" />
Copied!
Go to the source code of this ViewHelper: NormalizedUrlViewHelper.php (GitHub).
Arguments
The following arguments are available for the normalizedUrl ViewHelper:
pathOrUrl
-
- Type
- string
Absolute path to file using EXT: syntax or URL.