Array of Images Error (loading of images)

Hi,

Welcome to the community! :slight_smile:

If your project is named sketch, you should have the following folder structure :

sketch
β”œβ”€β”€ data
β”‚   β”œβ”€β”€ flower0.jpg
β”‚   β”œβ”€β”€ flower1.jpg
β”‚   └── flower2.jpg
└── sketch.pde

1 directory, 4 files

Your images need to be in a data folder inside your sketch folder, then it should work.

If you are on Linux or Mac, can you use the tree command in the terminal (used above) to show the file structure of your project?

1 Like