Is it possible to filter this list and to display only the images files?
Yes. See how it's done in mod/quiz/question.php - search in there for "mime". You'll see one "require_once" line up near the top, and later a small loop that creates an array called $images of only image files.
General developer forum
images uploaded in wysiwyg editor
This discussion has been locked so you can no longer reply to it.