You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method loadImageFromUrl creates image without taking into consideration if there was a crossOrigin setting in the options. As the result one will get a security error later if use an image from a different origin.
Proposed solution:
if (options.crossOrigin) { image.crossOrigin = options.crossOrigin; }
after onload set.
The text was updated successfully, but these errors were encountered:
Method loadImageFromUrl creates image without taking into consideration if there was a crossOrigin setting in the options. As the result one will get a security error later if use an image from a different origin.
Proposed solution:
if (options.crossOrigin) { image.crossOrigin = options.crossOrigin; }
after onload set.
The text was updated successfully, but these errors were encountered: