How to show the thumbnail of an image in a dialog box?

How to show the thumbnail of an image in a dialog box? I have studied the Item object, but I don't see any property that allows that, nor Metadata.

dlg.Control("imagen").label =

Read about DOpus.LoadThumbnail or LoadImage (works with DOpus or Script object).
More details in the manual

Ok @errante, thank you very much, I will study those topics. :face_with_monocle:

I already tried with DOpus.LoadThumbnail because I saw it in some scripts on the forum but it didn't work, apparently, related to what you tell me "(works with DOpus or Script object).

I got it, thanks once again for showing me the way!
dlg.Control("imagen").label = DOpus.LoadImage(item.realpath);