Description
Nature of issue?
- Found a bug
Details about the bug:
A student worked on this sketch and the first image, "start.jpg" doesn't load.
https://editor.p5js.org/laylaomalley/sketches/mFsAhoXLh
And here's a smaller sketch I made from a duplicate, but that still reproduces the behavior:
https://editor.p5js.org/kjhollen/sketches/hznIcfPXQ
Error message says:
p5.js says: It looks like there was a problem loading your image. Try checking if the file path [https://assets.editor.p5js.org/5e81fcca8a9db500200e4708/0275dc62-21a9-4548-bee7-cc774fc1de2https://assets.editor.p5js.org/5e81fcca8a9db500200e4708/54bbeec9-6e80-4b72-a5cf-fce051c1c0bd.jpg] is correct, hosting the image online, or running a local server.[https://github.com/processing/p5.js/wiki/Local-server]
so it appears that two image paths have been concatenated into one. In the same sketch, I can make the issue go away if I get rid of either variable + the related comment in preload (both work in isolation). I tried to reproduce this in a fresh, new sketch of my own with a 'start.jpg' and '1.jpg' but it seems ok. Hope there's enough info in the original sketch to track it down—let me know if there are more details I can provide to help figure this one out.
It was a huge help to use the editor for online teaching this past quarter. Thanks for everything you do.