File suffix icons
Probably have a column that uses a conditional and accordingly shows the appropriate image . Either you can store the image in some common place , or pick it up from another master table that has a file extension and corresponding image as 2 columns , and join using the extension . Sharing my first thought , may not be the best 😄

.jpeg/public)