Re: [PHP] problems with thumbnail image

2007-03-02 Thread Punit Neb
On Friday 02 March 2007 21:59, Roberto Mansfield wrote: > The problem is that your function generates thumbnail and then tries to > return the binary image within the html document. Html contains *links* > to images, not the images themselves. So you need to do something like > this: > > > > Then

Re: [PHP] problems with thumbnail image

2007-03-02 Thread Roberto Mansfield
> I have used this method for generating the thumbnail images. I avoided > creating the thumbnails and saving to the disk as the images change very > frequently. > > Thank you so much for helping me with this one:)) > > regards > Punit Neb The problem is that your function generates thumbnail

Re: [PHP] problems with thumbnail image

2007-03-02 Thread Punit Neb
On Friday 02 March 2007 15:48, Németh Zoltán wrote: Many thanks Németh Zoltán for the prompt response. > 2007. 03. 2, péntek keltezéssel 13.56-kor Punit Neb ezt írta: > > hello, > > > > I am a newbie trying to create on the fly thumbnail images on a debian > > sarge system with PHP Version 4.3.9-1

Re: [PHP] problems with thumbnail image

2007-03-02 Thread Németh Zoltán
2007. 03. 2, péntek keltezéssel 13.56-kor Punit Neb ezt írta: > hello, > > I am a newbie trying to create on the fly thumbnail images on a debian sarge > system with PHP Version 4.3.9-1. > > The following code is used > function thumbnail_img($photo_img_name) > { > $percent = 0.5; > li

[PHP] problems with thumbnail image

2007-03-02 Thread Punit Neb
hello, I am a newbie trying to create on the fly thumbnail images on a debian sarge system with PHP Version 4.3.9-1. The following code is used '; print ''; print ''; print 'Image'; print ''; print ''; //image file name $photo_img_name='./photos/1.png'; //display ori