How can I check image size and dimensions from fileInfo?


#1
  • fileInfo.size is size in bytes,
  • fileInfo.originalImageInfo.width and fileInfo.originalImageInfo.height are dimensions, if they are available.
    For more information, see fileInfo .