# HG changeset patch # User Sebastien Jodogne # Date 1624538902 -7200 # Node ID 58049bdebdc3d2deae856d6c621935925e70f314 # Parent 251d7f7a6c4ee5b9b0b277fdde3455adf2954ead new option "InstitutionLogo" to display the logo of your institution in the viewer diff -r 251d7f7a6c4e -r 58049bdebdc3 Applications/StoneWebViewer/NEWS --- a/Applications/StoneWebViewer/NEWS Thu Jun 24 14:30:00 2021 +0200 +++ b/Applications/StoneWebViewer/NEWS Thu Jun 24 14:48:22 2021 +0200 @@ -1,8 +1,10 @@ Pending changes in the mainline =============================== -* New configuration option "DownloadDicomDir" to download archives - containing DICOMDIR instead of a human-readable hierarchy of folders +* New configuration options: + - "DownloadDicomDir" to download archives containing DICOMDIR instead of + a human-readable hierarchy of folders + - "InstitutionLogo" to display the logo of your institution in the viewer * If available, use ZIP streaming from Orthanc >= 1.9.4 to create archives diff -r 251d7f7a6c4e -r 58049bdebdc3 Applications/StoneWebViewer/WebApplication/configuration.json --- a/Applications/StoneWebViewer/WebApplication/configuration.json Thu Jun 24 14:30:00 2021 +0200 +++ b/Applications/StoneWebViewer/WebApplication/configuration.json Thu Jun 24 14:48:22 2021 +0200 @@ -92,12 +92,19 @@ "OrthancApiRoot" : "..", /** - * If this option is set to "true", the Stone Web viewer will - * create DICOMDIR media archives (as generated by the route - * "/studies/{id}/media" of Orthanc), instead of archives + * If option "DownloadDicomDir" is set to "true", the Stone Web + * viewer will create DICOMDIR media archives (as generated by the + * route "/studies/{id}/media" of Orthanc), instead of archives * containing a human-readable hierarchy of folders (as generated * by the route "/studies/{id}/archive"). **/ - "DownloadDicomDir" : false + "DownloadDicomDir" : false, + + /** + * By setting option "InstitutionLogo" to an URL containing an + * image, this logo will be displayed at the bottom-left of the + * Stone Web viewer. + **/ + "InstitutionLogo" : "" } } diff -r 251d7f7a6c4e -r 58049bdebdc3 Applications/StoneWebViewer/WebApplication/index.html --- a/Applications/StoneWebViewer/WebApplication/index.html Thu Jun 24 14:30:00 2021 +0200 +++ b/Applications/StoneWebViewer/WebApplication/index.html Thu Jun 24 14:48:22 2021 +0200 @@ -299,6 +299,10 @@
+
+ +