View Single Post
Old 06-25-2020, 04:48 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,471
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by nucky View Post
On a side note, I've been struggling to display the file size in a human readable format. I tried using the human-readable template function to display the file size for those files, but it always displays the same string.
Shouldn't it work by using?:
Code:
Size: {size:human_readable()}
For various reasons "size" doesn't work in templates. Use
Code:
{:'human_readable(booksize())'}
instead
chaley is offline   Reply With Quote