How can I check image size and dimensions from fileInfo?

Yes, you can:

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

For more information, see fileInfo .