Fixes #44 by returning early if images have no width or height in previewImageLoaded.
There's probably a better solution to this that can somehow figure out the width and height from the viewbox attribute, but this at least allows the image to continue uploading.
Fixes #44 by returning early if images have no width or height in previewImageLoaded.
There's probably a better solution to this that can somehow figure out the width and height from the viewbox attribute, but this at least allows the image to continue uploading.