How to display file size?

Posted by anaid on 03-Feb-2015 09:51

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

All Replies

Posted by Orchid Corpin on 03-Feb-2015 10:18

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

Posted by pvorobie on 03-Feb-2015 11:29

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

Posted by pvorobie on 03-Feb-2015 13:00

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

Posted by Orchid Corpin on 03-Feb-2015 13:24

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

This thread is closed