Select and preview image before uploading - Ionic 5 (desktop supported)

I am building a webapp which mainly for desktop usage (but eventually also mobile-friendly).
I am at the point where I want to add image and preview it on the page first before submitting it to the server. It sounds not difficult to find but apparently I can only find the native camera feature.
Is there any alternative?