Utility Mill

HTML_embed_image

Generate an img tag with the image IN it


Output


Instructions / Discussion

There's URL scheme, "data", that allows inclusion of small data items as "immediate" data, as if it had been included externally. See RFC 2397

This will let you put an image right inside of an image tag. Perhaps you can avoid having to host a small image somewhere? Perhaps you can find other uses for this?

Here is an example: (View source on this page to see how it works)

embedded image example

Instructions

Upload a small image, choose what type of image it is, and get either a new HTML file with the image inside of it, or just the image tag with the image encoded within it.

Notes

  1. This doesn't seem to work for IE.
  2. When entering a URL instead of uploading a file, the utility might sometimes time out. When this happens, either try again or choose a new picture.

Utility Mill is another wonderful Blended Technologies project.

copyright, owned and operated by Blended Technologies LLC.

Powered by Python and the ineffable Web.py