I looked at your source code for the dropdown field. It may be enough to add style = “background-image: url ()” to the tag < option > and some javascript. I think, after select an option, a preview of the image is not nessary due the thumb is displayed in the dropdown box.
To manage and retrieve the images via api, I have already created a CMP. By @snippet I get now the data as json.
My questions are:
Can @snippet pass parameters? If yes how? Is it possible that I just copy all the files for the dropdown field to create a new input field to have a basis code?