Good day,
I have a zipped svg image (.svgz) stored in my mongodb. I would like to insert it into my html using spacebars.
I have defined a helper called ‘plot’, which returns a cursor. The cursor has the following key:value pair > “Plot1”:svgz-bytes.
In my template I have:
{{{Plot1}}}
The html shows “[object Uint8Array]” instead of the image.
Any advice would be greatly appreciated.
Best regards,
George