From b823b74c09394380011cf95d6669d97eab0ebc79 Mon Sep 17 00:00:00 2001 From: Dan Birman Date: Wed, 7 Feb 2024 10:16:20 -0800 Subject: [PATCH 1/2] Changing gif/png target to VBL server --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 2a61be3..bce302f 100644 --- a/index.html +++ b/index.html @@ -522,8 +522,8 @@ } // Change the image lement sources - document.getElementById('gifImage').src = `images/gif/neuron${idx}.gif`; - document.getElementById('pngImage').src = `images/png/neuron${idx}.png`; + document.getElementById('gifImage').src = `https://data.virtualbrainlab.org/NPUltra/gif/neuron${idx}.gif`; + document.getElementById('pngImage').src = `https://data.virtualbrainlab.org/NPUltra/png/neuron${idx}.png`; } //////////////////////////////// From 5783ee04851e7d988fccd28e7d140f9ff8cf1d35 Mon Sep 17 00:00:00 2001 From: Dan Birman Date: Wed, 7 Feb 2024 11:00:02 -0800 Subject: [PATCH 2/2] fixing some image sizing issues --- index.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index bce302f..1dc2e41 100644 --- a/index.html +++ b/index.html @@ -58,6 +58,7 @@ .right-col-top-row { flex: 0 0 20%; /* 20% height, does not grow or shrink */ + max-width: 20vw; } .right-col-bot-row { @@ -81,13 +82,20 @@ height: 100%; } - #pngImage, #probeImage { + #probeImage { height: 100%; max-height: 100vh; } + #pngImage { + width: 100%; + max-width: 20vw; + max-height: 20vh; + } + #gifImage { height: 100%; + max-height: 80vh; } #dataTable {