added comment message

This commit is contained in:
Shailendra1703 2025-09-15 20:49:26 +05:30
parent ccf1c24a52
commit 329c6a0fb7

View File

@ -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'>";
} }