Login   Register  
PHP Classes

ISC: Display a resized image in a HTML page

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-04-05 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 243 All time: 7,051 This week: 1,726Up
Version License PHP version Categories  
isc 1GNU General Public Lice...5.0HTML, PHP 5, Graphics
Description Author  

This class can be used to display a resized image in a HTML page keeping the proportions.

It gets the size of a given image and calculates the width or height to keep the proportion given a value of the other dimension.

The class generates HTML IMG tags to display the image in an HTML page with the calculated dimensions.

Picture of Lewis Ferguson
Name: Lewis Ferguson <contact>
Classes: 2 packages by
Country: United Kingdom United Kingdom
Age: 24
All time rank: 2780127 in United Kingdom United Kingdom
Week rank: 1694 Up72 in United Kingdom United Kingdom Up

  Files folder image Files  
File Role Description
Files folder imageexample (2 files)
Files folder imageclass (1 file)

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file example.php Example Example script
  Accessible without login Image file turing_test.png Photo Example image

  Files folder image Files  /  class  
File Role Description
  Plain text file ISC.class.php Class Main Class

 Version Control Unique User Downloads Download Rankings  
 0%Total:243All time:7,051
 This week:0This week:1,726Up