PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of László Zsidi  >  Easy Resize Image  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Easy Resize Image
Resize images keeping the aspect ratio
Author: By
Last change:
Date: 13 years ago
Size: 794 bytes


Class file image Download
    <head><title>Easy image resizer</title></head>

        <table width=90%>
            <tr><td align=center><h2>Original image</h2></td></tr>
            <tr><td align=center><img src="foto.jpg" alt="" /></td></tr>

            <tr><td align=center><h2>Resized 600 px</h2></td></tr>
            <tr><td align=center><img src="image.php?thumb=600" alt="" /></td></tr>

            <tr><td align=center><h2>Resized 400 px</h2></td></tr>
            <tr><td align=center><img src="image.php?thumb=400" alt="" /></td></tr>

            <tr><td align=center><h2>Resized 200 px</h2></td></tr>
            <tr><td align=center><img src="image.php?thumb=200" alt="" /></td></tr>

            <tr><td align=center><h2>Resized 90 px</h2></td></tr>
            <tr><td align=center><img src="image.php?thumb=90" alt="" /></td></tr>