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]
- Determining the size of a remote image Rick Root
- Re: Determining the size of a remote ima... Massimo Foti
- Re: Determining the size of a remote ... Massimo, Tiziana e Federica
- Re: Determining the size of a remote ... Rick Root
- Re: Determining the size of a rem... Massimo, Tiziana e Federica
- Re: Determining the size of a remote imag... Howie Hamlin
- Re: Determining the size of a remote imag... Barney Boisvert
- Re: Determining the size of a remote ... Rick Root
- Re: Determining the size of a rem... Doug Hughes