Listing 1000's of images in a listbox GUI / datGui / Imgui

Dear all,
I am trying to do the following, everything should be triggered by a UI:
Let a user select a directory
Populate a UI element with a list of image names in that directory; it is possible that there are 1000’s of images.
Upon clicking an image name in that UI element, / or alternatively scrolling with the keyboard display the image.

I saw the dirListExample, however it only loads a limited number of images and does not utilize a UI element.

I prefer using imgui, but open to datGUI as well as the native of GUI.


I have done this for song files with datgui haven’t try in imgui >>
hope this helps []