Closed dyoo closed 12 years ago
More information: what's happening is that the DOM doesn't allow image->color-list to work when the image has an external source. We get the following error message when that happens:
SECURITY_ERR: DOM Exception 18
One potential workaround that we can use is some kind of image-proxying approach to avoid this same-domain policy issue. This needs a little bit of thought before we go ahead and implement this.
Fixed. We're using an image proxy to avoid the issue.
bug reported by Danny Heap:
However, it looks as though external images must be brought in using url-image, and those generate a DOM error if I try to create the relevant color-list (I guess since the image is a DOM element).
Here's an example of what I'm trying to do.