PHP Classes

HTML Image Tag: Generate HTML image tags programmatically

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-05-29 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 845 All time: 3,883 This week: 1,029Up
Version License PHP version Categories  
htmlimagetag 1.0.0BSD License3.0HTML, Graphics
Description Author  

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.

Picture of Manuel Lemos
  Performance   Level  
Name: Manuel Lemos <contact>
Classes: 38 packages by
Country: Portugal Portugal
Age: 47
All time rank: 1
Week rank: 5 Down1 in Portugal Portugal Equal

  Files folder image Files  
File Role Description
Accessible without login HTML file html_image_tag_class.html Doc. Reference manual
Plain text file html_image_tag_class.php Class The HTML image class
Accessible without login Plain text file test_html_image_tag.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 0%Total:845All time:3,883
 This week:0This week:1,029Up