Open GoogleCodeExporter opened 9 years ago
Any help is appreciated, in terms of returns i can help SVG-Edit community to
have new Look and feel as i am web designer with 8 years of experience.
Original comment by sagarne...@gmail.com
on 26 Dec 2014 at 7:40
The allowedOrigins relates to postMessage message passing (e.g., between an
embedded editor and the actual editor). Your issue appears to be that the fact
you are hosting on https is not allowing you to grab to http, and that is no
doubt a browser restriction that can't be overcome short of changing both
servers (the one hosting SVG Edit and the one hosting the image) to http or to
https.
Original comment by bret...@gmail.com
on 26 Dec 2014 at 8:46
Hey Thanks Bro for help,
i am using svg-editor.html, if i am trying to include image which is hosted on
some server using https issue is same.
check screens for more reference.
Original comment by sagarne...@gmail.com
on 26 Dec 2014 at 9:29
Screens
Original comment by sagarne...@gmail.com
on 26 Dec 2014 at 9:34
Attachments:
i have reviewed this error more. there error thrown in this function
canvg(c, data.svg, {renderCallback: function() {
var datauri = data.quality ? c.toDataURL('image/' + dataURLType, data.quality) : c.toDataURL('image/' + dataURLType);
exportWindow.location.href = datauri;
var done = $.pref('export_notice_done');
if (done !== 'all') {
var note = uiStrings.notification.saveFromBrowser.replace('%s', type);
// Check if there's issues
if (issues.length) {
var pre = '\n \u2022 ';
note += ('\n\n' + uiStrings.notification.noteTheseIssues + pre + issues.join(pre));
}
// Note that this will also prevent the notice even though new issues may appear later.
// May want to find a way to deal with that without annoying the user
$.pref('export_notice_done', 'all');
exportWindow.alert(note);
}
}
Specificly on this line
var datauri = data.quality ? c.toDataURL('image/' + dataURLType, data.quality)
: c.toDataURL('image/' + dataURLType);
File Name svg-editor.js Line #: 1087
Original comment by sagarne...@gmail.com
on 26 Dec 2014 at 10:02
Original issue reported on code.google.com by
sagarne...@gmail.com
on 26 Dec 2014 at 5:26Attachments: