
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@rotsen/vue-filerobot-image-editor
Advanced tools

<script src="https://unpkg.com/@rotsen/vue-filerobot-image-editor"></script>
$ npm install @rotsen/vue-filerobot-image-editor --save
or
$ yarn @rotsen/vue-filerobot-image-editor
Then in your component:
<template>
<div>
<img
v-if="!openEditor"
width="300"
:src="src"
@click="openEditor = true"
alt="example image"
/>
<button @click="openEditor = true"> edit</button>
<VueFilerobotImageEditor
v-if="openEditor"
:config="config"
:src="src"
@complete="onComplete"
@beforeComplete="onBeforeComplete"
@close="onClose"
@error="onError"
/>
</template>
<script>
import VueFilerobotImageEditor from "@rotsen/vue-filerobot-image-editor";
export default {
components: { VueFilerobotImageEditor },
data() {
return {
openEditor: false,
config: {
tools: ['adjust', 'effects', 'filters', 'rotate', 'crop', 'resize', 'watermark', 'shapes', 'image', 'text'],
finishButtonLabel:'Save',
}
src: "https://scaleflex.airstore.io/demo/stephen-walker-unsplash.jpg",
colorScheme: 'light' // 'dark'|'light'
};
},
methods: {
onComplete(url, file) {
console.log("url" + url);
},
onBeforeComplete(element) {
if (element && element.canvas) {
this.src = element.canvas.toDataURL();
}
},
onClose(status) {
console.log("close" + JSON.stringify(status, null, 3));
this.openEditor = false;
},
onError(error) {
console.log(" error " + error);
},
}
};
</script>
| Name | Type | Description |
|---|---|---|
config | Object | All configuration of FilerobotImage Editor. Default: {} |
src | String | Image url to edit . Required |
| Name | Description |
|---|---|
close | Fired when the editor is close |
error | Fired when error occurs |
beforeComplete | Event fired when click to Save of Download |
complete | Event fired when a dialog definition at the end of beforeComplete |
Full docs at [filerobot-image-editor](https://github.com/scaleflex/filerobot-image-editor)
You can use vue-cli or other vue templates
Thanks to contributers
MIT
FAQs
Filerobot-image-editor from vuejs
We found that @rotsen/vue-filerobot-image-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.