Closed quantumwebco closed 2 years ago
I am using a basic implementation but the image loads weird, not filling the Cropper and the stencil is zoomed in and cuts the image off
In
<cropper class="cropper" :src="img" :stencil-component="$options.components.CircleStencil" :stencil-props="{aspectRatio: 1,}" @change="change" />
in
import {CircleStencil, Cropper} from "vue-advanced-cropper"; import "vue-advanced-cropper/dist/style.css";
img: "https://images.unsplash.com/photo-1600984575359-310ae7b6bdf2?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=700&q=80",
components: {Cropper, CircleStencil},
change({coordinates, canvas}) { console.log(coordinates, canvas); },
I am using a basic implementation but the image loads weird, not filling the Cropper and the stencil is zoomed in and cuts the image off
In
in