mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
and here
This commit is contained in:
parent
c63c4cb0c1
commit
3c84bae2fc
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
|||
= @image.image_width
|
||||
| x
|
||||
= @image.image_height
|
||||
=<> String.upcase(@image.image_format)
|
||||
=<> String.upcase(to_string(@image.image_format))
|
||||
- size_kb = div(@image.image_size, 1024)
|
||||
- size_mb = Float.round(size_kb / 1024.0, 2)
|
||||
span title="#{size_kb} kB"
|
||||
|
|
Loading…
Reference in a new issue