Keyword Replacements

This chapter outlines the keyword replacements that can be used to show information for the Core Assets within Squiz Matrix. These can be used on assets such as the Asset Listing, What's New and Search Pages. For more information about these assets, refer to the Asset Listing manual and the Search manual.

Bookmarks to the headings on this page:

  1. File
  2. Image and Thumbnail

File

The following keyword replacements can be used for File, MS Excel Document, MS Word Document, MS PowerPoint Document, PDF File and Text File asset types.

Tip: These keywords can be used in conjunction with the standard Common Keywords.     

Keyword Replacement   Information shown  
%asset_attribute_title%   The title of the file.  
%asset_attribute_name%   The name of the file for example Squiz_Map.swf.  
%asset_file_size_in_bytes%   The size of the file in bytes.  
%asset_file_size_readable%   The size of the file in friendly format.  
%asset_file_contents% The binary contents of the file.
Alternate Video File

The Video File asset allows for the configuration of an alternate video file. The attributes of this alternate video file can be accessed using the following keyword replacement format:

%asset_attribute_alt_asset_<asset_attribute>% 

For example, %asset_attribute_alt_asset_asset_url% will display the URL of the alternate video file, while %asset_attribute_alt_asset_asset_name% will display its name.

Image and Thumbnail

The following keyword replacements can be used for Image and Thumbnail asset types.

Tip: These keyword replacements can be used in conjunction with the standard Common Keywords and File Keyword Replacements.

Keyword Replacement       Information shown      
%image_width%       The width of the image in pixels.      
%image_height%       The height of the image in pixels.      
%image_tag%       Displays the image.      
%asset_attribute_size%       The size of the file in bytes.      
%asset_attribute_height%       The height of the image. This is generated from the image file.      
%asset_attribute_width%       The width of the image. This is generated form the image file.      
%asset_attribute_alt%       The information entered into the Alt attribute on an image.      
%asset_attribute_caption%       The information entered into the Caption field on an image      
Image Variety

The following keyword replacements can be used for an Image Variety. Please note <variety_name> is the name of the variety that you want to use.

Keyword Replacement       Information shown      
%image_v_<variety_name>% Displays the Image Variety of an Image or Thumbnail asset.
%image_v_<variety_name>_url% The URL of a specified Image Variety.
%image_v_<variety_name>_width% The height of a specified Image Variety (in pixels).
%image_v_<variety_name>_height% The width of a specified Image Variety (in pixels).
%asset_thumbnail_v_<variety_name>% Displays the Image Variety of the thumbnail of an asset.
%asset_thumbnail_v_<variety_name>_url% The URL of a specified Image Variety of the thumbnail of an asset.
%asset_thumbnail_v_<variety_name>_width% The width of a specified Image Variety (in pixels) of the thumbnail of an asset.
%asset_thumbnail_v_<variety_name>_height% The height of a specified Image Variety (in pixels) of the thumbnail of an asset.