PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Hemant Kumar Tiwary  >  PHP Resize Image on the fly  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: sample code
Class: PHP Resize Image on the fly
Serve resize image from given URL on the fly
Author: By
Last change: this file contains sample code to use resize class
Date: 8 years ago
Size: 1,090 bytes
 

Contents

Class file image Download
<html>

    <body>

    <p>
        <h3>Author : Hemant Kr Tiwari<br/>
        Email : t.hemantkumar@gmail.com<br/>
        Blog : http://hemant-uniquescience.blogspot.in/<br/>
        Licence : GNU General Public License
        </h3>
    </p>

    <p>
        This example is used to resize the image i,e.
        Take the image from URL = http://texipaleo.files.wordpress.com/2014/01/cropped-cropped-cropped-cropped-blogheader4.jpg
        AND resize with size of width=200 and height=200
        <img src='http://localhost/resizer.php?url=http://texipaleo.files.wordpress.com/2014/01/cropped-cropped-cropped-cropped-blogheader4.jpg&size=200x200-S' />


    </p>
<br/>

     <p>
                This example is used to resize the image i,e.
                Take the image from URL = http://texipaleo.files.wordpress.com/2014/01/cropped-cropped-cropped-cropped-blogheader4.jpg
                AND resize with size of width=200 and height=200
                <img src='http://localhost/resizer.php?url=http://texipaleo.files.wordpress.com/2014/01/cropped-cropped-cropped-cropped-blogheader4.jpg&size=200x200-PC' />

        </p>

    </body>

</html>

For more information send a message to info at phpclasses dot org.