FNNDSC / ChRIS_ui

UI for ChRIS
MIT License
53 stars 115 forks source link

Unable to download images (PNGs) from the file browser panel in the Feed Details page #1150

Open Sandip117 opened 7 months ago

Sandip117 commented 7 months ago

Currently, the download is inconsistent in the UI across different file types. Observations: When I try to download a PNG file using the download button in the file browser panel in the Feeds Details page, I get a 'processing download' notification in the top right corner of the screen. The next thing that happens is, I am redirected to a new page (http://rc-live.tch.harvard.edu:32222/api/v1/files/490435/55806-1.2.250.1.118.3.1305.235.1.7532.97.1712251292.png) exposing the resource URL, where I can view the image file in full screen mode. There is no file downloaded to my local FS.

To replicate: Head on to http://chris-next.tch.harvard.edu:2222 to any feed that contains a node containing image file. (http://chris-next.tch.harvard.edu:2222/feeds/185?type=public)

PintoGideon commented 7 months ago

@Sandip117 , the one trick right now is to do what you would with any jpg/png image on chrome. Right click and hit 'Save As' and it should download to your machine. I'll take a look later