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

Posted by Mike on 08/23/06 10:20

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.

Thanks

Mike

Rik wrote:
> Mike wrote:
> > Thanks for the explanation but how would I solve my issue?
> >
> > Do I have to create a script say "createthenewimage.php" which does
> > what I have done previously and
>
> Yes, everything up to imagejpeg()
>
> > then in the HTML in a new script do
> > like you say...
> >
> > <img src="createthenewimage.php" />
>
> Indeed, ir "./images/createthenewimage.php" etc, wherever your script is.
> The browser will load the HTML document, check for <link>'s and image
> src's, and will request that image form your server as soon as it wants to
> display the image.
>
> 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

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