how to grid make grid app to show images in dynamic folder/subfolder

Hello

I need a grid application to show my pictures which is stored in several folders in my production environment.
How Can I do this?

Please note that

–> Pictures are in my folders but not in db
–> I have a db table which stores pictures files name and subfolders path
–> I think I need dynamic path generation

I have tried to created grid app and then select the filed types of HTML/image, Image (File Name) but couldnt achive this

Who can help me?