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

    Integrating Cropperjs or any similar image cropping plugin with Quasar

    Framework
    3
    5
    689
    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.
    • K
      keepingitsimple last edited by

      Gentleman, I was trying to , I am not able to get it working. Most example around are all with Vue js. Anyone has any experience with cropperjs or any similar plugin? Thanks in Advance.

      1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman last edited by metalsadman

        @keepingitsimple if it works like a vue plugin, install it via boot file https://quasar.dev/quasar-cli/cli-documentation/boot-files#Introduction.

        these installation snippet would go into your boot file:

        import Vue from 'vue';
        import Croppa from 'vue-croppa';
        // If your build tool supports css module
        import 'vue-croppa/dist/vue-croppa.css';
        Vue.use(Croppa);
        
        1 Reply Last reply Reply Quote 0
        • K
          keepingitsimple last edited by

          Thanks @metalsadman , I will give it a try, and post my results.

          1 Reply Last reply Reply Quote 0
          • P
            pd76 last edited by

            @keepingitsimple any result? I’d also need to use a cropper and wonder what it could be an easy way to integrate it. Thanks.

            1 Reply Last reply Reply Quote 0
            • K
              keepingitsimple last edited by

              Hi @pd76 it works fine, as @metalsadman explained, rest the example from the cropper github works as it is. However if you are using for pwa , you may have problem with permission. Otherwise it works fine.

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