This package is a self contained build for tui image editor (https://github.com/nhn/tui.image-editor)
Just add minified css and script sources to the page and go (see example in dist/example).
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="./image-editor.bundle.min.css">
<script src="./image-editor.bundle.min.js"></script>
</head>
<body>
<div id="img-editor"></div>
<script>
var imageEditor = new tui.ImageEditor('#img-editor', {
includeUI: {
loadImage: {
path: 'osx.jpg',
name: 'SampleImage'
},
initMenu: 'filter',
menuBarPosition: 'bottom'
},
cssMaxWidth: 700,
cssMaxHeight: 500
});
window.onresize = function() {
imageEditor.ui.resizeEditor();
}
</script>
</body>
</html>