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.

share|improve this question
    
Did you checked the console of safari for any errors? – Shubhamoy Chakrabarty 16 hours ago
    
@ShubhamoyChakrabarty : Yes,i am getting this 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
    
@ShubhamoyChakrabarty : Do you have any solution for this ? – satya 16 hours ago
    
Have you looked in the issues section of the library? github.com/danialfarid/ng-file-upload/issues – Shubhamoy Chakrabarty 16 hours ago
    
@ShubhamoyChakrabarty : i have also reported one issue there. see here.This is reportted by me.But they are unable to fix it. – satya 16 hours ago

Did you have a rights to this file? Mayby this is why you cant access to them?

What is your upload server side? Any code?

share|improve this answer
    
You are talking about which file. Using the above code i can preview the image first then i am going for upload.BTW i am using PHP for server side code. – satya 13 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.