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