I have the following formula in my gallery and it works well, return all attachments
Lookup(
'Facturation control';
ID = Gallery3_2.Selected.ID
) 'Attachments'
but now i just want to show the attachments which are images using something like
EndsWith (Attachments.DisplayName; "jpg") Or EndsWith (Attachments.DisplayName; "png")
How can I implement these formulas in the filter?