Look at PowerBuilder/SQL statement SELECTBLOB to get from the database to a local blob.
Look at FileOpen() and FileWriteEx() to get the blob into a local file.
Look at the PictureControl object to display the object.
I've never actually used a datawindow picture control, and tried anything dynamic with that. Would it be possible to retrieve the image locally, and refresh the picturecontrol based on what's selected in your datawindow?