How to display file size? - Forum - Rollbase - Progress Community

How to display file size?

 Forum

How to display file size?

This question is not answered

If someone uploads a document or an image, how can you display it's file size next to the image or document?

All Replies
  • Hi,

    I tried uploading a file and when I saved it I can see the file size next to it. What Rollbase version are you using?

    Regards,
    Orchid

  • Document field will show file size automatically, but Image field will not. Which one you're using?

  • After 3.2 release use rbv_api.getFieldValue() API to retrieve (and, possibly, display) size of uploaded file: PSC00326448

  • Thanks Pavel for the CQ item.
    @dml for meantime you can use File Upload field instead of Image Upload(if ever you use Image upload) to view file size.

    Regards,
    Orchid