Hi @NurNina :
I get it, I guess you are using this paperclip icon to add a picture attachment.

If my guess is correct, then things become simpler.Because the binary text of the attachment is available, and the image also supports binary text.I've made a test for your reference:
1\Set the gallery's items proprety to
LookUp(EntityAS,Name="aaa").Notes
2\Add am image control into this gallery and set it's Items proprety to:
Concatenate("data:",ThisItem.'Mime Type',";base64,",ThisItem.Document)
Best Regards,
Bof