PHP Classes

File: example_images.html

Recommend this page to a friend!
  Classes of Arturs Sosins   Image Font   example_images.html   Download  
File: example_images.html
Role: Auxiliary data
Content type: text/plain
Description: Example with multiline text and alignments
Class: Image Font
Render images with text using graphics as fonts
Author: By
Last change:
Date: 12 years ago
Size: 1,288 bytes
 

Contents

Class file image Download
<!-- /************************************************************* * This script is developed by Arturs Sosins aka ar2rsawseen, http://webcodingeasy.com * Feel free to distribute and modify code, but keep reference to its creator * * Image Font class can generate text taking images of symbols as font. * You can provide path to directory with images, using symbols as file names, * or you can provide and array with symbols as keys and paths to images as values. * It is also possible to set a maximal width restriction and alignment of text. * * For more information, examples and online documentation visit: * http://webcodingeasy.com/PHP-classes/Generate-text-using-images-as-letters **************************************************************/ --> <h1>New lines:</h1> <p><img src='./example_image_generator.php?type' width='1000px'/></p> <h1>Align right:</h1> <p><img src='./example_image_generator.php?type=right' width='1000px'/></p> <h1>Align center:</h1> <p><img src='./example_image_generator.php?type=center' width='1000px'/></p> <h1>Align justify:</h1> <p><img src='./example_image_generator.php?type=justify' width='1000px'/></p> <h1>Maximal width restriction:</h1> <p><img src='./example_image_generator.php?type=max_width'/></p>