# loadImage() problem / Cross-Origin

**URL:** <https://discourse.processing.org/t/loadimage-problem-cross-origin/24569>\
**Category:** Beginners\
**Created:** [October 13, 2020, 3:21pm UTC](https://discourse.processing.org/t/loadimage-problem-cross-origin/24569 "2020-10-13T15:21:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [October 13, 2020, 6:42pm UTC](https://discourse.processing.org/t/loadimage-problem-cross-origin/24569/2 "2020-10-13T18:42:57Z")

</div>

> [@\_sv\_11](#):
>
> I want to load data from a weather-api and also i want to load images from my computer.

> [@Maximum size of a method in Processing](https://discourse.processing.org/t/maximum-size-of-a-method-in-processing/17136/29):
>
> Another workaround: [Chrome-allow-file-access-from-file.com](http://Chrome-allow-file-access-from-file.com) A more complete solution: More solutions: [GitHub.com/processing/p5.js/wiki/Local-server](http://GitHub.com/processing/p5.js/wiki/Local-server)

> <https://gist.github.com/GoSubRoutine/5fbc03e019c53254a2ba7e7fd3318b45>

---

_[View the full topic](https://discourse.processing.org/t/loadimage-problem-cross-origin/24569)._
