You are here

assetUrl

assetUrl() these methods return the preview URL to the specified asset.

assetUrl

assetUrl(avmPath) returns the preview URL to the specified asset.

Parameters

avmPath
A string representing the fully qualified AVM path of the asset.

Returns

Returns a string representing the preview URL to the specified asset.

assetUrl

assetUrl(storeId, assetPath) returns the preview URL to the specified asset.

Parameters

storeId
A string representing the store ID.
assetPath
A string representing the store-relative path to the asset.

Returns

Returns a string representing the preview URL to the specified asset.