Details
php_image_to_html
converts image to html PITH SITE
for one match
require_once('ImageToHtml.php');
echo ImageToHtml::render('images/test.png');
/*
Note: acceptable images type: 'png, jpeg and gif'
//return rendered image with default attribute
echo ImageToHtml::render('images/test.png');
//return rendered image with default width multiplied by 4
echo ImageToHtml::render('images/test.png', 4);
//return rendered image with default height multiplied by 4
echo ImageToHtml::render('images/test.png', null, 4);
//return rendered image with default width and height multiplied by 4
echo ImageToHtml::render('images/test.png', 4, 4);
|
Name: |
PHP Image to HTML |
Base name: |
image_to_html |
Description: |
Display an image on a page using only HTML tags |
Version: |
- |
PHP version: |
5 |
License: |
BSD License |
|
|
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.
|
Files |
|