| 
 Posted by Joseph Melnick on 06/10/81 11:17 
Hello Craig, 
 
use the GD Library. 
use resource imagecreatefromstring ( string image ) 
 
here is link to the documentation and an example follows at the end by  
shiehj at yahoo dot com 
where he takes an image fom his database and creates a thumbnail. 
 
http://ca.php.net/manual/en/function.imagecreatefromstring.php 
 
Joseph Melnick 
JM Web Consultants 
 
 
"Craig Keightley" <dont@spam.me> wrote in message  
news:429305b4$0$289$cc9e4d1f@news-text.dial.pipex.com... 
> you could try adding two columns in your db for the height and width of  
> the image. Retreive the file dimensions on upload and insert them into the  
> db 
> 
> hth 
> 
> craig 
> 
> "Geoff Berrow" <blthecat@ckdog.co.uk> wrote in message  
> news:k8i5919o7her9ntbg9v9k051mup2ohbjj7@4ax.com... 
>>I noticed that Message-ID: <42927227$0$17146$a729d347@news.telepac.pt> 
>> from ATK contained the following: 
>> 
>>>Anyone know how to do it only having the bytes and bits of the image??? 
>>> 
>>> 
>>>I also have to create thumbnails of that image... any idea?? 
>> 
>> It would probably be best to get the dimensions and create the thumbnail 
>> as the image was uploaded, if possible.  These could then be stored in 
>> the db. 
>> 
>> --  
>> Geoff Berrow  0110001001101100010000000110 
>> 001101101011011001000110111101100111001011 
>> 100110001101101111001011100111010101101011 
> 
>
 
  
Navigation:
[Reply to this message] 
 |