normalizedUrl

Normalizes a path that uses EXT: syntax or an absolute URL to an absolute web path

Examples

Url:

<core:normalizedUrl pathOrUrl="https://foo.bar/img.jpg" />

Output:

https://foo.bar/img.jpg

Path:

<core:normalizedUrl pathOrUrl="EXT:core/Resources/Public/Images/typo3_black.svg" />

Output:

/typo3/sysext/core/Resources/Public/Images/typo3_black.svg

Arguments

pathOrUrl

DataType
string
Required
false
Description
Absolute path to file using EXT: syntax or URL.