Commit 861baf72 by doszhang

dos

parent 3e68f5f2
...@@ -302,6 +302,17 @@ function createPoster() { ...@@ -302,6 +302,17 @@ function createPoster() {
photo.onload = function () { photo.onload = function () {
posterCtx.drawImage(photo, 0, 0, posterCanvas.width, posterCanvas.height); posterCtx.drawImage(photo, 0, 0, posterCanvas.width, posterCanvas.height);
$('#notification_area').remove();
$('.upload-page').hide();
$('.poster-page').show();
$('.show-img').append('<img class="showimg" />');
$('.showimg').attr('src', getManBase64(uploadCanvas));
$('.poster-img').append('<img class="posterimg" />');
$('.posterimg').attr('src', getManBase64(posterCanvas));
// var posterTopObj = new Image(); // var posterTopObj = new Image();
// posterTopObj.src = '/Public/static/image2/poster' + level + '-1.png?version=1.0.0'; // posterTopObj.src = '/Public/static/image2/poster' + level + '-1.png?version=1.0.0';
// posterTopObj.onload = function () { // posterTopObj.onload = function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment