I've looked all over for scripts that can do this simple function, but they are usually so complicated... I am trying to make a thumbnail of an image on the fly... which means that no new images will be created when viewing a thumbnail... Ok so here is my code.
<?php
Header("Content-type: image/jpeg");
$im = imagecreatefromjpeg($file.".jpg");
Imagejpeg($im,'',100);
ImageDestroy($im);
?>
Ok, so what do I need to add to have the image come out to a height of 50 while the width remains in proportion.... and I want it to all be done on the fly...
Can someone help? Thanks...