media.extension ViewHelper <vhs:media.extension> 

Returns the extension of the provided file.

Arguments 

file 

DataType
string
Required
false
Description
Path to the file to determine extension for.