Let Canvas handle 3D image

This commit is contained in:
Rikard Bartholf
2017-05-19 10:58:27 +02:00
parent 89aeb9cd5e
commit 3a0fe9fde5
4 changed files with 35 additions and 30 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
var imageUrl = '//images.photowall.com/products/' + $input.image_id.val() + '.jpg?h=450';
var editor = new ImageEditor('canvas-editor', {'type': 'wallpaper'})
var editor = new ImageEditor('canvas-editor', {'type': 'canvas'})
.loadImage(imageUrl, function() {
$input.w.trigger('input');
Event.handleResize();