The following script will replace each file name with an anchored image. Before running it, you will need to:
- Add the image names into your table cells. (Separate your file names with a space, or multiple spaces if you want to space out your images more.)

- Create a paragraph style called "Picto" and apply it to the text you want to replace. (Make sure the paragraph style has center alignment — other than that, it doesn't really matter what the style looks like, just as long as you have it applied to the text so the script knows which text to target).
- Create an object style of the same name ("Picto") — use the information in my previous reply to configure that object style.
If you are not familiar with installing and running scripts, see this help article.
The script works as follows:
- It prompts you to select the folder where your images are saved (it will not search through subfolders).

- Then it searches for any text with the paragraph style "Picto" applied.

- Then it replaces the text with an anchored object, with the object style "Picto" applied. (Note there is a typed space between each image.)

- If a file cannot be found, an empty frame is inserted and the text will remain.
Let me know if you encounter any issues or need additional guidance!
app.doScript(Main, undefined, undefined, UndoModes.ENTIRE_SCRIPT,"Run Script");
function Main(){
var myDoc = app.activeDocument;
var myFolder = Folder.selectDialog("Select folder to search");
app.findGrepPreferences= NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
app.findGrepPreferences.appliedParagraphStyle = myDoc.paragraphStyles.item("Picto");
app.findGrepPreferences.findWhat ='\\<(\\w|-)+(\\.)(psd|png|jpg|jpeg|svg|tif|tiff)';
//edited to add "psd"
var foundTexts = myDoc.findGrep();
var myObjStyle = app.activeDocument.objectStyles.item("Picto");
var i = foundTexts.length;
while (i--) {
try {
var ip = foundTexts[i].insertionPoints[0].index;
var anchoredFrame = foundTexts[i].parent.insertionPoints[ip].rectangles.add();
anchoredFrame.applyObjectStyle(myObjStyle, true);
if(File(myFolder + "//" + foundTexts[i].contents).exists) {
anchoredFrame.place(File(myFolder + "//" + foundTexts[i].contents));
foundTexts[i].remove();
}
}
catch(err) {
}
}
app.findGrepPreferences= NothingEnum.nothing;
}