jennypretty
11-07-2007, 06:20 PM
Hello,
I have a dating site. When members upload their images, how do I resize the images to be 300px width and let the height automatically?
some images are large so they load too slow.
Can you please help?
Thanks,
Jenny.
p.s.
Here is the upload image code block:
<input name = "image_<? echo $i;?>" type = "text" id="image_<? echo $i;?>" value="<? echo $image[$i];?>" size="20" readOnly >
<input type=BUTTON name=btn_name<? echo $i;?> value="Upload" onClick=attachment('image_<? echo $i;?>')>
I have a dating site. When members upload their images, how do I resize the images to be 300px width and let the height automatically?
some images are large so they load too slow.
Can you please help?
Thanks,
Jenny.
p.s.
Here is the upload image code block:
<input name = "image_<? echo $i;?>" type = "text" id="image_<? echo $i;?>" value="<? echo $image[$i];?>" size="20" readOnly >
<input type=BUTTON name=btn_name<? echo $i;?> value="Upload" onClick=attachment('image_<? echo $i;?>')>