# P5.js image not appearing

**URL:** <https://discourse.processing.org/t/p5-js-image-not-appearing/36435>\
**Category:** Beginners\
**Created:** [April 19, 2022, 9:26am UTC](https://discourse.processing.org/t/p5-js-image-not-appearing/36435 "2022-04-19T09:26:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cardgame](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@cardgame](https://discourse.processing.org/u/cardgame)\
**Post date:** [April 19, 2022, 9:26am UTC](https://discourse.processing.org/t/p5-js-image-not-appearing/36435/1 "2022-04-19T09:26:51Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/1/7/17cc103813ff423c3997e2e8546b11b7d4ac3fb8.png)

Hi, I was just following the tutorials from ml5.js  
and I could not see the images I don’t know why, I moved the image file to the folder which has the html.

---

<div class="post-metadata">

**Author:** ![cardgame](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@cardgame](https://discourse.processing.org/u/cardgame)\
**Post date:** [April 19, 2022, 9:27am UTC](https://discourse.processing.org/t/p5-js-image-not-appearing/36435/2 "2022-04-19T09:27:35Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/6/5/6588209d84ce7420ba0e97d9cbbe548668204713.png)  
There was no error in console as well

---

<div class="post-metadata">

**Author:** ![SomeOne](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/someone/32/8639_2.png) [@SomeOne](https://discourse.processing.org/u/SomeOne)\
**Post date:** [April 19, 2022, 2:15pm UTC](https://discourse.processing.org/t/p5-js-image-not-appearing/36435/3 "2022-04-19T14:15:23Z")

</div>

You usually put image() command to draw() function. I suspect it doesn’t do anything in setup().
