Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: about pictures and thumbnails


Message #1 by Super Powerfulrez <powerfulrez@g...> on Tue, 11 Sep 2001 06:20:38 -0700 (PDT)
Try

ImageCreateFromJPEG( )
and
ImageCopyResampled( )

(see manual)

Nop
----- Original Message -----
From: "Super Powerfulrez" <powerfulrez@g...>
To: "professional php" <pro_php@p...>
Sent: Tuesday, September 11, 2001 8:20 PM
Subject: [pro_php] about pictures and thumbnails


> i want to upload a picture and let the php resize the picture to a
specific height and width
> save the file to something like '01_th.jpg' and insert this data to the
database
> i know i can create images using the gd function but how?
> can any 1 tell me the syntax of resizing?
>
> benjamin
>
>

  Return to Index