With the table query you taught me, I was able to successfully display the task images in a table!
Tasks examples
- [ ] wikilinks👍 #yay ![[img-001.png]]
- [ ] markdown👍 #yay 
DQL
TABLE
without id regexreplace(T.text, "(\!\[\[\S+)+", "") AS Task, default(link(T.outlinks, "150")[0], "") AS Image
flatten file.tasks AS T
where contains(T.tags, "#yay")
output
The reason I use the task format is because I write out the ideas that come to mind as tasks in daily note, tag them, and finally let dataview collect them by tag.
chrsle in the link below explains it in detail and I do the exact same thing.
https://forum.obsidian.md/t/dataview-plugin-snippet-showcase/13673/679
This one seems to do the same thing with lists instead of tasks.
https://github.com/blacksmithgu/obsidian-dataview/discussions/1329
I sometimes write down ideas as images and wanted to solve the problem of displaying images.
holroy and mnvwvnm, thank you so much!