Loading tagged images from folder based on search input

Hey nice people… =)
I´m looking for an approach to load images from a folder (that I got to work so far) based on a search input in a textfield the user can make.
The images will be named or meta tagged with several words and now I want to filter and show only the ones corresponding to the users search…
Any ideas (or magic modules/libraries) how to do this?

Thanks in advance and many greetings from Venice,

wow… could it be that easily the “mask pin” is the solution to my problem?
Sorry for bothering :D