the static-svg viewer requires passing the image's size with a [width, height] parameter.
A provided function (getImageSizeFromUrl(url)) reads the image size in-browser
avoids the need for heavier, server-side solutions.