Making thumbnails from images



One of the things I'm in the process of doing is putting together a
photo album for our family. In the process of surfing through php.net
looking for other things I ran across some functions (imagecreate and
imagecreatefromjpeg for example) that appear to allow you to work with
images and (hopefully) make thumb nail images on-the-fly. Is this indeed
possible? I've tried a few things and I'm getting nowhere.

Here's some small code I'm playing around with.

<?
$src="./048807.jpg";
header("Content-type: image/jpeg");
$image=imagecreatefromjpeg($src);
imagejpeg($image);
?>

I keep getting (when I attempt to load the page):

The image ³...insert your site here...² cannot be displayed, because it
contains errors.


I don't seriously think it's this easy if it can be done at all, but
everything else I've tried ends the same way.
.



Relevant Pages

  • Re: Kinda OT: Digital Cameras
    ... How do you "manage" those pictures? ... My personal record is ~4500 images in a single trip (two week Tanzania ... which then can be purchased online for the printing ... deadline to get a photo album done as a gift, ...
    (rec.travel.cruises)
  • Re: Maintain Constant Picture Size - PP2007
    ... One is to add the images using the Photo Album option, ... exactly" tool is what it's really called) on the free RnR Starter Set ... Echo [MS PPT MVP] http://www.echosvoice.com ...
    (microsoft.public.powerpoint)
  • Re: XP2002 Photo album query
    ... The photo album does some tricky image insertion by adding your images as ... the background to Autoshapes, which can't be cropped. ... being unable to crop them is a downside. ...
    (microsoft.public.powerpoint)
  • Re: PowerPoint crashes everytime I use Photo Album to insert photo
    ... What kind of images are you trying to insert via the photo album? ... Do you get an error message when PPT crashes? ... >>> worked fine in other versions of PowerPoint but will not work at all ...
    (microsoft.public.powerpoint)
  • Re: PowerPoint crashes everytime I use Photo Album to insert photo
    ... Resized images and tried again, ... Then restart PPT and try the photo album again. ... > Or here's some info on other batch import options. ...
    (microsoft.public.powerpoint)