Dynamic images with path as a variable

I have a question.

I have images (file names) in my databank. But the path is variable. I have to put path and filename together.

I did it with php and it works on server side:
<php $path = “whatever” ?>
“class=“card”> <img class=“card-img-top” alt=“Card image cap” dmx-bind:src=”<?php echo $path ?> {{imagename}}"

but how can I do this with sever connect?

Thanks in advance

Community Page
Last updated: