No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to configure Capacitor camera from Quasar File Picker

    Help
    2
    3
    338
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DavidGo last edited by

      I’m using the Quasar File Picker component and I’d like to give the user the possibility to crop the uploaded picture. I can see that there is an option in the Capacitor Camera plugin allowEditing for that purpose. Is there a way to set this configuration through the Quasar File Picker?

      Also is there a way to provide crop size to Camer Plugin? For example, I’d like to have a squared picture.

      dobbel 1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel @DavidGo last edited by

        @DavidGo said in How to configure Capacitor camera from Quasar File Picker:

        Capacitor Camera

        you could display the picture to the user after upload and use vue-croppie to crop it:

        https://github.com/jofftiquez/vue-croppie

        DEMO:
        https://foliotek.github.io/Croppie/

        other vue crop libraries:
        https://github.com/Agontuk/vue-cropperjs
        https://github.com/Norserium/vue-advanced-cropper/

        1 Reply Last reply Reply Quote 1
        • D
          DavidGo last edited by

          Yeah, that’s the option. Although I hoped to have some tool integrated into Capacitor and Quasar, so it would behave more natively. Thank you for the effort, @dobbel

          1 Reply Last reply Reply Quote 0
          • First post
            Last post