kartoteket / vue-image-upload-resize

A simple vue-component for client-side image upload with resizing
MIT License
175 stars 54 forks source link

capture "false" is not working in IOS #87

Open jewells77 opened 1 year ago

jewells77 commented 1 year ago

I'm using a vue capacitor and issue: I don't want the user to capture images from the camera; I just want the user to select images from their phone. :capture="false" It works fine on Android but not in IOS

<image-uploader
    :debug="1"
    :maxWidth="200"
    :maxHeight="200"
    :quality="0.3"
    :autoRotate="true"
    outputFormat="verbose"
    :preview="true"
    :className="['fileinput', { 'fileinput--loaded': hasImage }]"
    :capture="false"
    accept="image/*"
    doNotResize="['gif', 'svg']"
    @input="setImage"
    ref="imageFile"
    style="display: none"
  ></image-uploader>