You are here: Re: PHP image upload and display « PHP Programming Language « IT news, forums, messages
Re: PHP image upload and display

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация