Posted by Erwin Moller on 09/16/05 12:40
Faree wrote:
> Hi,
>
> I am a PHP Developer.can any one help me on image upload and
> display of that image.what i want is uploading an image to a
> directory ,displaying of that image as a thumbnail.when i click on
> that image the image should be diplayed in another page.
>
> I wrote code for image uploading and as well as display code.but i
> failed in image resizing when click on that :(
>
> can anyone come up with code for this ,
> asap.Otherwise suggest me a way how to get this.
>
> Thanks.
Hi,
So the upload part works?
Good.
Resizing is easier. :-)
Resampling is better.
Have a look at:
http://nl2.php.net/manual/en/function.imagecopyresampled.php
It contains examples too.
I suggest you store the original and the tumbnail both on your filesystem.
Good luck.
Regards,
Erwin Moller
[Back to original message]
|