6D Labs / CQ Extended Tag Library / API / Tags / getAsset
Retrieves an asset from a resource. Checks whether the given resource is an asset, and if not, travels upwards the resource hierarchy until a resource is an asset.
name - getAsset
class - com.sixdimensions.wcm.cq.taglib.ext.GetAssetTag
attributes:
Example:
<ext:getAsset resource="${assetResource}" var="asset" />