GeorgeValergas / paintweb

Automatically exported from code.google.com/p/paintweb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

PaintWeb fails to load without config.imageLoad #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
Pull request submitted.

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

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
Can you post your error messages here?

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

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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