Page 1 of 1

Displaying an Image selected from a subfile

Posted: Mon Mar 17, 2025 11:15 am
by mcorbo
I created a subfile of a list TIFF images in an ifs folder. If a user clicks on an image I would like to display it in what I think should be an image widget. I set the imgsrc of the widget to 'script: pui.downloadURL({ "id": '+ %trim(fullfile) + '", "contentType": "image/tiff" }) (Exit program is created) and then refresh the screen, but the image is sent as a download to the browser, not to the image widget. What am I doing wrong?