Some browsers support a
data URL that directly contains the data:
<img src="data:image/png;base64,iVBORw0KGgoAAAANS
UhEUgAAAFwAAAAWCAIAAADCTmwFAAAA3ElEQVR4nO2YwQ3DIAxFfysGKdM
wRmfLGJ2GjtJDqhyKAzYBB1K/UxA2Nh/HSNxifAEA4JcAID6/w3/mfnYCI
3KOKH4Ja2GOiVUKgYlCYKIQmCgE7UXp10TV2jMhCif24NfHQZpVypVkYol
St2FNr1buK9ZoCUwUgpwoU3fcI4lNUCkKZ/Pj7h4+AHhH1ouByDj1St05U
6IFOcbFoG4bby8pmQ+RceZpRjQlWpBjXAzq9ux6kB6ptOgqvDLGe/moiiK
Cs/M6TYu4TutK0UyjGGuC20cf2e+j0AJG4AOYG4/WPzawWgAAAABJRU5Er
kJggg==" alt="sparkline" />
See this random page for the code I stole.
If this is for an inhouse application where your users will be using Mozilla or Safari, this is a good solution; apparently it doesn't work in IE, though, which is kind ofa downside. :)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.