4

I have managed to use my own file-uploader (MyPackage_Module/js/form/element/file-uploader), its exact copy of Magento_Ui/js/form/element/file-uploader along with required adjustments. It would be working fine once we get Base64.mageEncode at frontend but I managed to set file.id without Base64 encoding, replaced below code: processFile: function (file) { ...


3

Base64 is defined in ./lib/web/mage/adminhtml/tools.js. Try to load this JS lib directly in your page layout file for frontend (./view/frontend/layout/route_to_your_page.xml): <?xml version="1.0"?> <page ...> <head> <link src="mage/adminhtml/tools.js" type='text/javascript'/> </head> <body /> </page&...


1

are your images uploaded well ? If it's the case, this is how you can save images in your database : When you are saving you should call something like this : $data = $this->getRequest()->getPostValue(); Just debug $data. Normally you will see an array with all data you need from your form. Just get the field name of your upload file field, pass it to ...


1

Ok, I found someone else who reported this error. Couldn't believe Magento team can release a stable version with this obvious bug, here is the fix https://github.com/magento/magento2/issues/18688 & https://github.com/magento/magento2/commit/ba69bfec127bed8c39c7d9e7b73d10b54449b158


Only top voted, non community-wiki answers of a minimum length are eligible