PHP Classes

File: example3.php

Recommend this page to a friend!
  Classes of Miguel   pixpic   example3.php   Download  
File: example3.php
Role: Example script
Content type: text/plain
Description: example property
Class: pixpic
Render images in the browser using color DIV tags
Author: By
Last change:
Date: 8 years ago
Size: 269 bytes
 

Contents

Class file image Download
<?php

include "pixpic.class.php";
$px=new Pixpic();
$img="./emo.png";
//Set the image
$px->setImage($img);
//set property zoom =1 original size span=1 not separated
$px->zoom=3;
$px->span=2;
if(!
$px->error()){
    echo
$px->image2div();
}else{
    echo
$px->error();
}


?>