CORS Error on TMSFNCBitmapContainer1.AddFromURL

Hello,

Assignment when creating the form:
path: = 'mydomainxxx.de'; // Foreign domain
"TMSFNCBitmapContainer1.AddFromURL (path + '/ Microfaser.JPG', 'Item3');
Output in a PDF via ClickEvent:
...
'MyPdf.Graphics.DrawImageWithName (' Item3 ', gcWhite, RectF (400, 300, 520, 500));'

Error message:
'Uncaught SecurityError: Failed to execute' toDataURL 'on' HTMLCanvasElement ': Tainted canvases may not be exported.'

The cause is CORS, but how can I get around this or which directive do I have to set in the web client application?

Does somebody has any idea?