Ion-select not working with image

I want show image in ion-select tag but ion-select dosent support image and in drop down i cant create static array it should be from server and when the person select country from dropdown it should be show in ion-select as desired image if anyone face this scenario please let me know the ways.

Screen Shot 2020-06-01 at 11.48.22 AM

Hi you can achieve this by using this code