Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PaintWeb fails to load without config.imageLoad #39

Open
GoogleCodeExporter opened this issue Mar 3, 2016 · 9 comments
Open

PaintWeb fails to load without config.imageLoad #39

GoogleCodeExporter opened this issue Mar 3, 2016 · 9 comments

Comments

@GoogleCodeExporter
Copy link

PaintWeb fails to load without config.imageLoad.

Original issue reported on code.google.com by mihai.sucan on 7 Dec 2010 at 10:52

@GoogleCodeExporter
Copy link
Author

This is probably caused by paintweb.src.js:14150

if (!pwlib.isSameHost(imageLoad.src, win.location.host)) {

Here imageLoad is null and trying to access imageLoad.src causes an error. A 
fix could be.

if (imageLoad && !pwlib.isSameHost(imageLoad.src, win.location.host)) {

Original comment by calle.svensson@zeta-two.com on 21 Apr 2012 at 1:24

@GoogleCodeExporter
Copy link
Author

Thanks for your comment! That is correct! Unfortunately, I do not have time to 
make patches to Paintweb.

If you want and have time, I'd very much appreciate a pull request on github.

https://github.com/mihaisucan/paintweb

Original comment by mihai.sucan on 26 Apr 2012 at 3:03

@GoogleCodeExporter
Copy link
Author

Pull request submitted.

Original comment by calle.svensson@zeta-two.com on 27 Apr 2012 at 4:19

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I tried the solution but problem not solved
is there any anathor solution?

Original comment by dhanashr...@gmail.com on 10 May 2012 at 11:05

@GoogleCodeExporter
Copy link
Author

it is working on local machine but not on IIS 7.........
pls HELP!!!!!!!!!!

Original comment by dhanashr...@gmail.com on 10 May 2012 at 1:02

@GoogleCodeExporter
Copy link
Author

Can you post your error messages here?

Original comment by calle.svensson@zeta-two.com on 14 May 2012 at 5:04

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

You can set the image (src="") with empty src and give it a height and width 
that you want for the canvas.

Original comment by sabid.ak...@gmail.com on 8 May 2014 at 10:07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant