You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an error occurs while attempting to create a preview of the image, the web application will only report "Image Not Found".
However, there may be multiple reasons for why Dicoogle is unable to provide a quick preview (either via the thumbnail or by pressing the Show Image button).
The image was indexed, but was no longer found in storage at the time of the preview
The image is in an unsupported encoding, making Dicoogle unable to construct the preview
In case 1 the information would be OK, but in case 2 the message given to the end user is still "Image Not Found", which is very misleading (relevant question on learning pack: bioinformatics-ua/dicoogle-learning-pack#24).
Acceptance criteria:
At the server application, ensure that the image service returns different output to distinguish these two kinds of errors.
Preferably in a JSON object
At the webapp, use that information to show an image providing a more accurate error message
For instance, a failure like in case 2 should show something like "Could not create preview"
The text was updated successfully, but these errors were encountered:
When an error occurs while attempting to create a preview of the image, the web application will only report "Image Not Found".
However, there may be multiple reasons for why Dicoogle is unable to provide a quick preview (either via the thumbnail or by pressing the Show Image button).
In case 1 the information would be OK, but in case 2 the message given to the end user is still "Image Not Found", which is very misleading (relevant question on learning pack: bioinformatics-ua/dicoogle-learning-pack#24).
Acceptance criteria:
The text was updated successfully, but these errors were encountered: