I am taking your advice.
I am going to rezize any image greater than 400px wide prior to upload. I
have to combine my upload script
for ($i=0; $i <$total; $i++) {
$fileName = $_FILES['userfile']['name'][$i];
$tmpName = $_FILES['userfile']['tmp_name'][$i];
$fileSize = $_FILES['userfile']['size
On 6/15/07, Stut <[EMAIL PROTECTED]> wrote:
OK, your problem here is the single quotes in the img src around $img_url.
Stut's right. You should change:
echo "";
to:
echo "";
He's also right about the dynamic resizing of images causing a
serious strain on the server
Ross wrote:
Thanks Stut we are getting somewhere.
Removing the header gives the full binary output of the file in IE and FF. I
also removes the echos and have the resized image showing in the browser. So
far so good. I know it works.
Now back to sending the URL.
I have this
$img_url="htt
Hi Ross,
Friday, June 15, 2007, 10:00:53 PM, you wrote:
> I have this
> $img_url="http://www.xxx.co.uk/images/ENbb24469/room1.JPG";;
> echo ">";
> and on the display image page I have:
> $img_url= $_GET['img_url'];
> $image = imagecreatefromjpeg($img_url);
> if ($image === false) { exit;
4 matches
Mail list logo