use a local image in the photo-wallpaper example

This commit is contained in:
Martin
2017-08-06 01:13:12 +02:00
parent 4b55debcaf
commit 325ec84048
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -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>