Dynamic image file source from DB and S3

Hello,

I’m storing a certain file name in the database. And image files are stored in S3 (DO).

In this case, how can I populate dynamic image file source from both DB and S3?

I could not find any old topics or tutorials about this.

Thanks,

I could solve this one somehow by myself.

I leave my screenshot here for my sake.