HTML Image Tag

HTML Image Tag
Generate HTML image tags programmatically
Graphics, HTML
Manuel Lemos
This class can be used to generate HTML image tags programmatically.

It can automatically compute the image size to fill the width and height attributes for images defined from locally accessible files.

The class can also generate an image tag with a special source URL that contains the actual image data defined according to RFC 2397. This way it, the image can be embedded in your HTML documents, making it possible to display the HTML documents without requiring external image files.

The data for embedded images may be supplied from a locally accessible file or from a string that contains the image file binary data.


This entry was posted on Friday, May 29th, 2009 at 10:46 pm
Entry is filed under Uncategorized.
Read original posting here.
You can follow any responses to this entry through the RSS 2.0 feed.

Both comments and pings are currently closed. Total Views: 308

Comments are closed.