im writing a script (or editing and hacking things together) to edit the look of images on a page. I know the basics of javascript but this is my first time looking at canva
Try adding crossorigin="anonymous" to the image element. For example
crossorigin="anonymous"