You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Anyone have an example for upload items with base64 encoding
Actually I use https://github.com/adonespitogo/angular-base64-upload who work great but I want use angular-file-upload for multiple files upload and bootstrap integration
Thanks
Regards
The text was updated successfully, but these errors were encountered:
Oh thank you. Isn't the same prob but I have found with this issues.
I post my tips
uploader.onAfterAddingFile = function(item) { var reader = new FileReader(); reader.onload = function(event) { $scope.$apply(function() { item.image = event.target.result; var monImage =item.image; // Marche avec autre chose que image bien sur. PDF testé // Suppression du début de chaine inutile var index = monImage.indexOf(","); if (index >= 0) { myEntity.ContenuFichierAEnregistrer = monImage.substring(index + 1); } var monNom = item.file.name; myEntity.NomFichier = monNom; // console.log(myEntity); // Ready to checkin }); }; reader.readAsDataURL(item._file); };
Regards
Hi,
Anyone have an example for upload items with base64 encoding
Actually I use https://github.com/adonespitogo/angular-base64-upload who work great but I want use angular-file-upload for multiple files upload and bootstrap integration
Thanks
Regards
The text was updated successfully, but these errors were encountered: