|taille_en_octets

  • New in : SPIP 1.4

The |taille_en_octets filter (meaning "size in bytes" in French) converts a number of bytes (25678906) into a more explicit character string ("24.4 MB").

Example within a DOCUMENTS loop:

#TITRE - #TYPE_DOCUMENT[  - (#TAILLE|taille_en_octets)])

will display "My document - JPEG - 82.6 KB"

Author Mark Published : Updated : 21/07/23

Translations : català, English, Español, français, Nederlands