It took a little research to find out how to display file sizes nicely on card previews in the @getkirby panel, but the appropriately named

text: "{{ file.nicesize }} - {{ file.dimensions }}"

query does just that.


Screenshot of the kirby panel view with file sizes and dimensions displayed below image cards.

  |   in Kirby CMS IndieWeb by at πŸ”—

Images


πŸ’€ 1 πŸ‘‹ 0

Likes

Mentions

Reposts

Join the Conversation

βœ‰οΈ by email | ✍️ discuss Below
By submitting your data, you agree that all entered data may be saved and displayed as a comment.