Once I've uploaded an image to an image field, is there any easy way to see how large the file is?  It might come up on mouseover or right click, but it doesn't. 

If not that would be a REALLY USEFUL right click addition, as there are only three items on that menu now.

Meanwhile, is there a formula I can use...?

5 replies

    • Jorg
    • 4 yrs ago
    • Reported - view

    Hi David,

    Thank you for your suggestion.
    We have already included it in our list of requested improvements. We hope to be able to release them in one of our upcoming versions.
    Thank you very much for your patience.

    Best, Jörg


    PS There is also no formula right now.

    • Provisions International, Inc.
    • Henry_Gomez
    • 2 yrs ago
    • Reported - view

    Was the image size updated in the new version of Ninox?

    • Ninox partner
    • RoSoft_Steven.1
    • 2 yrs ago
    • Reported - view

    There is a formula now, use this example in a formula field to display the size of the image along with the name of that image:

    let k := index(text(item(files(this), 0)), "/") + 1;
    let n := substr(text(item(files(this), 0)), k);
    format(number(fileMetadata(this, n).size) / 1000, "#,##0.000") + " KBytes - Name: " + n


    • PIERRE_M
    • 5 mths ago
    • Reported - view

    Thanks Steven, this is useful. But much needed would be:

    - a direct function that would enable to display the size of an image just below the image placeholder ( your solution does not identify the placeholder / field where the image or file is stored) ,

    - a function to limit uploaded images or files sizes (preferably per field/placeholder);

    -  a function to display the total size of a record in a view in a column (unfortunaltly, your solution is very slow, so can't be used in a large views to identify records that are too big)

      • Ninox partner
      • RoSoft_Steven.1
      • 5 mths ago
      • Reported - view

      PIERRE M 

      If you want to know the filemetadate of a Imagefield, you can use this formula:

      let i := fileMetadata(this, last(split(text(Imagefield), "/")))    <--this gives an array of the filename,filesize,creationdate
      i.name                                                             <--to extract the filename
      i.size                                                             <--to extract the size
      i.modifiedDate                                                     <--to extract the datestamp
      "Filename: " + i.name + "/ Size: " + i.size + "/ Date: " + date(i.modifiedDate)  <-- all in one line

      If you want to know per record how much the total storage is used, you can make per imagefield a size formula and add all together .

Content aside

  • Status Answered
  • 5 mths agoLast active
  • 5Replies
  • 1158Views
  • 2 Following