ViewHelper Documentation
uri.resource
A view helper for creating URIs to resources.
= Examples =
{f:uri.resource(path: 'gfx/SomeImage.png', package: 'DifferentPackage')}
{f:uri.resource(path: 'resource://DifferentPackage/Public/gfx/SomeImage.png')}
Arguments
path string
Location of the resource, can be either a path relative to the Public resource directory of the package or a resource://... URI
package string
Target package key. If not set, the current package key will be used
resource anySimpleType
If specified, this resource object is used instead of the path and package information
localize anySimpleType
Whether resource localization should be attempted or not.