How can I show Results of a Query

I downloaded my HP from my Provider.
Now I hav the Problem, that no results (images) are shown on the local server.
The server is properly installed.

I created the HP same years ago with Wappler.

The code for a dynamic Databank was like this

but now with that code the images are not shown.

I want to show this result (for example)

I can write queries in sql. But what are the nestyQuery and how do they work?