try this...

<?
  if (!isset($width)) {
    $width=100;
    $height=100;
  }
?>
<html>
  <body>
    <img src="/path/to/image.ext" width="<?=$width?>" height="<?=$height?>">
    <form><p>
      Image width: <input type="text" name="width" size="4"><br \>
      Image height: <input type="text" name="height" size="4"><br \>
      <input type="submit" value="Resize!">
    </p></form>
  </body>
</html>

hope that's what you meant.

Twigman...

On Thu, 9 Aug 2001, Mark Lo wrote:

> Hi,
> 
>       I would like to know ..is it possible to let my client resize the
> picture from the browser instead of having a default height and width.   If
> yes, can you give me some idea of how to do it.
> 
> Thanks
> 
> Mark
> 
> 
> 

-- 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to