Massimo Foti wrote:
>  > I want to restrict the size, so that when people enter a remote URL to an
>  > image, it can't be any bigger than 100x100...
>
> Have you considered using _javascript_ for the job? You can create a new image
> object out of the url entered by the user, then you read the dimensions out
> of it

So I could do it when validating the form onsubmit.. interesting .. I
didn't know _javascript_ could do that.  I'll have to google for sample
code... (unless anyone would like to provide sample code before I get a
chance to do that tomorrow!)

  - Rick
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to