added comment message
This commit is contained in:
parent
ccf1c24a52
commit
329c6a0fb7
@ -104,6 +104,7 @@ class RenderImage extends Operation {
|
|||||||
// Add image data to URI
|
// Add image data to URI
|
||||||
dataURI += "base64," + toBase64(data);
|
dataURI += "base64," + toBase64(data);
|
||||||
|
|
||||||
|
// style tag for image responsiveness
|
||||||
return "<img src='" + dataURI + "' style='max-width:100%;max-height:100vh;display:block;margin:auto;' alt='Rendered image'>";
|
return "<img src='" + dataURI + "' style='max-width:100%;max-height:100vh;display:block;margin:auto;' alt='Rendered image'>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user