Navigation :

Home
Source code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links




Site Sponsors :

Bookmark :

Links :

software directory
low cost magazines
domain names

Downloads :

Misc :

Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!


Image resizer

Resize images the easy way

<?php
//image resizer by myscripting
//get the size of the original
$size = GetImageSize("testimage.gif");
//store the resized dimensions in a variable
$sizeh50 = $size[1]/2;
$sizew50 = $size[0]/2;
?>
Original Image :
<br>
<img src ="testimage.gif">
<br>
Resized image :
<br>
<img src ="testimage.gif" height="<?php echo $sizeh50; ?>" width ="<?php echo $sizew50;?>">