How do I check image size and dimensions from fileInfo?

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