Closed Josue-T closed 7 years ago
Hello,
The image_format
option only affects the graphs generated by Monitorix, not the logos.
Besides this, I've seen that the module emailreports.pm
doesn't honor that option and it always uses the same mime type image/png
, even when that option is set to SVG
. Also, the module traffacct.pm
has the same problem.
I'll fix this.
Hello,
I didn't see that my example is about the logo picture, I knew that it's only about the graphs.
Thanks to fix this.
@Josue-T, no problem.
I've also fixed to name correctly each attached graph in the email, so now you should be able to save the graphs more easily.
Hello,
When we set the
image_format
option to svg on the web server it's ok. But when we want to send an email report the binary of the image are in svg, but in the in the mailContent-Type
data is set toimage/png
and the extension is png. So the email client can't read this image. For example I find that in the email source code :but after the binary is encoded in svg format. I think it should be adapted to
image/svg+xml
.Thanks