Closed TawsifKarim closed 4 years ago
It's unclear if you're after "editing" the image, that happens when clicking the button with the pencil on it, OR if you're after automatically cropping the image. Please elaborate.
Currently filepond starts to upload the image as soon as I select one. I want to crop it first then upload it with a button click just like the demo shown here. An example would be helpful.
set instantUpload
to false
?
Thank you that worked but the setOption in the mounted() method did not work. its sending the file to the url http://localhost:3080/file-pond.. Am I missing something?
Best to expose it like:
<template>
<div id="app">
<file-pond
name="test"
ref="pond"
v-bind:server="myServer"
v-bind:files="myFiles"/>
</div>
</template>
<script>
export default {
name: 'app',
data: function() {
return {
myServer: {
// server config...
},
myFiles: ['index.html']
};
},
components: {
FilePond
}
};
</script>
Thank you :)
Hey, I'm unable to see the edit button, even I added the edit plugin, can you share some references, it will be very helpful. I'm using nuxt 2
@DeepMhta07 The edit button only appears when the Image edit plugin is set and an editor has been loaded.
This is a really cool library. But after integrating it with my nuxt js app i am having hard time finding a solution to crop an image and then upload. Shown on the example Profile Picture Code
I have gone throw some of the documentation and its a lot to read. Here is my set up: