There is no problem loading the pictures in the project. An error will be reported when loading the online pictures
resolvent:
image.setAttribute(‘crossOrigin’, ‘anonymous’);
Reason: when canvas is drawn, online pictures involve cross domain problems.
Of course, while setting the front end, you also need to set it in the background to allow cross domain access to pictures.
Read More:
- Tainted canvases may not be exported
- How to solve the error loading media: file could not be played in jwplay
- Error in configuration process, project files may be invalid in cmake compilation
- R load(xxx.Rdata) Error bad restore file magic number (file may be corrupted) — no data loaded
- Solve the problem that the header file of “graphics. H” cannot be loaded in vs2015
- Solve the problem that “figure size 640×480 with 1 axes” does not display pictures in jupyter notebook
- NPM err! Invalid name: “{{name}} in nuxt installation in p166 of Shangsi Valley online education project“
- To solve problems in cmake VTK: error configuration process, project files may be invalid
- Solution of node canvas error reporting in MacOS M1 installation
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- When cmake is compiled, “error in configuration process project files may be invalid” appears
- “Error in configuration process project files may be invalid” appears during cmake compilation
- Error configuration process and project file may be invalid appear in cmake compilation
- #error identifier-list parameters may only be used in a function definition
- Error: ~ /. Vuerc may be updated. Please delete it and re run vuercli in manual mode
- Solution: when cmake is compiled, “error in configuration process project files may be invalid” appears
- To solve the problem in Windows opencv installation: error configuration process, project files may be invalid
- In R language, for loop or array truncation, the following error occurs only 0’s may be mixed with negative subscripts
- Python Anaconda Spyder can’t display pictures by using Matplotlib. Error report solution: figures now render in the plots pane by default. To mak
- Idea startup project: main class not found or cannot be loaded