Hi Sean,
This is the changed function for loading image:
codefunction show_preview() {
$.canvasResize(file, {
width: 300,
height: 0,
crop: false,
quality: 80,
//rotate: 90,
callback: function(data, width, height) {
// here you must replace $('<img>') with your Appery('image_component_name')
$('<img>').attr('src', data);
}
});
}/code