Webuploader upload image (get the width and height of the original image and the file path of the uploaded image)

my demand is that after clicking the picture to upload, you can preview it in a div, and then there is a button on div to view the original image. When you click the button, you want to display the original image. I want to make it dynamic, and the original image is displayed as what it looks like, but Baidu webuploader.js did not find the width and height of the original picture and the file path for uploading the picture. How should this be solved?

Mar.17,2021

now I can only get it with makeThumb (preview) in the beforeFileQueued (before adding a file) event.
the _ info of the file of makeThumb gets the width and height, which cannot be obtained before uploading. In other events, the file corresponding to makeThumb, may also have no _ info. Note: makeThumb may be asynchronous

Menu