Cannot create image files with WebView engine

oumar1er

New member
My point of sale system is working fine with WebView except the creation of image files for the products. When i use Chromium engine or an external browser, images are created correctly. But only with WebView i always get a 0kb file. How can i fix this? Note that i shifted from Chromium to WebView because my input forms get frozen many times with Chromium and preventing to write and submit data. Could you please help solve this? Thanks
 
This problem with WebView could be related to:

Known Issue: File Uploads in Forms
There is currently a bug in the Microsoft Edge WebView2 engine that may prevent file uploads (<input type="file">) from working correctly with PHP (see bug report here).

As a workaround, you can either use the CEF engine (which does not have this issue) or implement a native file selection dialog as explained in the topic on how to select local files with PHP. This requires some additional code but provides a reliable solution.

See https://www.exeoutput.com/help/rendering-engine
 
Back
Top