-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Build process
- Unit testing
- Internationalization
- Friendly errors
- Other (specify if possible)
p5.js version
No response
Web browser and version
No response
Operating system
No response
Steps to reproduce this
Steps:
- go to https://p5js.org/reference/p5/createFileInput/
- upload a picture in the second example sketch
Image is not displayed and the following console error is thrown:
VM273 about:srcdoc:24 Uncaught ReferenceError: img is not defined
at draw (VM273 about:srcdoc:24:11)
at e.default.redraw (:2:542460)
at _draw (:2:467347)
Really simple fix, in fact someone already opened a PR in december: #7422
ksen0