I need some help. I can not upload file using win-7+safari
using ng-file-upload
in Angular.js. I am explaining my code below.
<div ng-repeat="mul in mulImage">
<input type="file" class="filestyle form-control" data-size="lg" name="upload_{{$index}}" id="bannerimage_{{$index}}" ng-model="mul.image" ngf-pattern="'image/*'" accept="image/*" ngf-max-size="2MB" ngf-select="onFileSelect1($index);">
<img ngf-thumbnail="mul.image" name="pro" border="0" style="width:32px; height:32px; border:#808080 1px solid;" ng-if="mul.image !=null">
</div>
Here i can not display image after selecting from drive. Here i need when user will select image it should display in image tag.Its working in all browser except win7+safari
well. Please help me.
undefined' is not a function (evaluating 'FileAPI.readAsDataURL(a,d)') /js/ng-file-upload-shim.min.js:2
error in console. – satya 16 hours ago