So Brethern --

Here's a doosie of a question: Anybody know how to turn HTML into an image?

I need to allow users to select templates (pulled dynamically from a directory) and I thought that as they selected one, I'd perform some JS wizardry to display an image of the template. The only thing is I need to able to create an image of the HTML automatically.

Kind of an interesting problem, huh?

Off to search the Net...


In reply to Turning HTML into an Image by mdog

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":