Insert image in a position

I have a web application where I create a template that contains the labels of fields in my database and one of them are pictures my problem is how to replace my tags with an image in the position which is the label.

such should be replaced by the image in the database thank you very much and have if you can solve this problem

Thanks for your request. Probably, in your case, you can use merge fields as placeholders for your images. In this case, you can use the technique suggested here to achieve what you need:
Best regards,