Pjs getImage() function does not show all available images
- Dominant language
- JavaScript
- Stars
- 776
- Forks
- 180
- PR merge metrics
- No merged PRs in 30d
Description
Seems like a simple fix.
The image selector for a [JavaScript program][0] does not show all available images. The [HTML image selector][1] however does.
It is possible to enter the direct url in the JavaScript environment for images not shown by the picker. However, this is not ideal. Why not use the same full featured image selector for both programs?
_pjs image picker_

_HTML image picker_

[0]: https://www.khanacademy.org/computer-programming/imageimage-x-y/937672662
[1]: https://www.khanacademy.org/computer-programming/html-the-image-tag/4800922048004096
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing the image selector used by the JavaScript program with the HTML image selector shown in the issue. Trace how each picker loads and displays available images. Done means the JavaScript picker exposes the same available images as the HTML picker, without requiring a direct URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100