Image and Thumbnail

Last Updated: 04 Feb 2016

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).
%image_v_<variety name>_file_size%The file size of a specified Image Variety (in bytes).
%image_v_<variety name>_file_size_readable%The file size of a specified Image Variety (in a readable format).
%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. 
%asset_thumbnail_v_<variety name>_file_size%The file size of a specified Image Variety (in bytes) of the thumbnail of an asset.
%asset_thumbnail_v_<variety name>_file_size_readable%The file size of a specified Image Variety (in a readable format) of the thumbnail of an asset.
Thumbnail

The following keyword replacements can be used to display information on the Thumbnail of an asset.

Keyword Replacement Information Shown
%asset_thumbnail% The thumbnail of an asset.
%asset_thumbnail_title% The title (friendly name) of the thumbnail of an asset.
%asset_thumbnail_name% The file name of the thumbnail of an asset.
%asset_thumbnail_assetid% The asset ID of the thumbnail of an asset.
%asset_thumbnail_url% The URL of the thumbnail of an asset. 
%asset_thumbnail_caption% The caption of the thumbnail of an asset.
%asset_thumbnail_alt% The alt text of the thumbnail of an asset.
%asset_thumbnail_v_<variety_name>_X% Specified attribute value for an Image Variety of an asset thumbnail, where <variety_name> is the name of the variety and X is the attribute that you want to show. For example, %asset_thumbnail_v_var1_url% will show the URL of the var1 variety.

Previous Chapter Next Chapter

The Latest

Let Us Know What You Think

Let us know if you spot any errors or if you have any ideas on how we can improve the Matrix Community Website.

Contact Squiz for Demo

Let us show you the true power of Squiz Matrix by giving you a personalised demonstration.