- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Other Tags
- Template Tag: File Filesize
Template Tag: File Filesize
This template tag displays the filesize of the current File, formatted to most relevant unit (kB, MB, GB, etc.).
Examples
Quick Template
[File:file_size]
PHP Template
$File->get_size_formatted();
Parameters
This tag does not accept any parameters.
Return value
This tag displays content only, it does not have a return value.