|
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]
|