PHP Classes

HTML Image Tag: Generate HTML image tags programmatically

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 892 All time: 3,964 This week: 488Up
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: 45 packages by
Country: Portugal Portugal

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:892
This week:0
All time:3,964
This week:488Up
User Ratings User Comments (1)
 All time
Utility:62%StarStarStarStar
Consistency:56%StarStarStar
Documentation:68%StarStarStarStar
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2746