use a local image in the photo-wallpaper example
This commit is contained in:
@@ -36,10 +36,10 @@
|
||||
window.addEventListener('resize', resizeEditor);
|
||||
|
||||
//load the image
|
||||
var image_url = '//images-dev.photowall.com/products/45825.jpg?h=450';
|
||||
editor.loadImage(image_url, function() {
|
||||
editor.loadImage('/examples/photo-wallpaper/image.jpg', function() {
|
||||
cropImage();
|
||||
});
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user