Download template which uses the same canvas preview image like the upload template

42 views
Skip to first unread message

Pavlina Drosos

unread,
Feb 27, 2015, 9:50:59 AM2/27/15
to jquery-f...@googlegroups.com
Hello,

I use the blueimp file upload plugin for large images upload with the Basic Plus UI theme. I need the download template to reuse the same canvas preview image like the upload template instead of image thumbnail, because I don't generate thumbnails on image upload.

Could you please help me, is this possible and how should I do it?

Thank you in advance!

Regards,
Pavlina Drosos

andrea valle

unread,
Jul 20, 2015, 5:22:37 PM7/20/15
to jquery-f...@googlegroups.com
Hi, i have the same problem.
Did you find a solution?
Thanks.

Pavlina Drosos

unread,
Jul 21, 2015, 4:06:38 AM7/21/15
to jquery-f...@googlegroups.com
Hi Andrea,

we ended up doing it by rewriting the done method, like this:

$('#upload-image-form').fileupload({
// disable template switch
done: function (e, data) {
// other code here if needed

return false;
}
});

Hope this helps.

KR,
Pavlina
Reply all
Reply to author
Forward
0 new messages