This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Mr.VACO
Good day!
The file is stored in "system_files" table. There is a field - "file_size" - in bytes. How can I get file size not in bytes, and in a modified form ( Kb, Mb, Gb)?
{% for file in post.filesize %}
Size: {{ file.file_size }} Byte
{% endfor %}
Sorry my English :)
Last updated
1-2 of 2