You are here: Re: imagejpeg « All PHP « IT news, forums, messages
Re: imagejpeg

Posted by Rik on 08/23/06 10:35

Mike wrote:
> Thanks Rik, works great, although I'm not convinced its the easiest
> way
> to do it.
>
> Is there a way to store the re-sized image on the server just after
> the user uploads it? Then I can just call the image in the normal
> way.


Please don't toppost, read up on netiquette.

http://nl2.php.net/manual/en/function.imagejpeg.php

imagejpeg($image_p,'/path/to/your/dir/imagename.jpeg',100);
Don't forget to imagedestroy();

Grtz,
--
Rik Wasmus

 

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

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