Re: Determining the size of a remote image

2004-09-28 Thread Doug Hughes
I know this message is a bit late, but look for the upcoming version of the Alagad Image Component. This will add the ability to work with images via urls just exactly as requested. Thanks, Doug Hughes [EMAIL PROTECTED] On Thu, 16 Sep 2004 21:37:24 -0400, Rick Root <[EMAIL PROTECTED]> wrote: > B

Re: Determining the size of a remote image

2004-09-16 Thread Rick Root
Barney Boisvert wrote: > You can load an image into a BufferedImage (the Java class that > undoubtedly backs the image.cfc you mentioned) from an arbitrary URL. > Not sure the exact syntax, but a glimpse inside image.cfc and a > browser with javadocs should get you started. Barney, Thanks for the

Re: Determining the size of a remote image

2004-09-14 Thread Massimo, Tiziana e Federica
> 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!) I am going to bed, but this should at least

Re: Determining the size of a remote image

2004-09-14 Thread Rick Root
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 di

Re: Determining the size of a remote image

2004-09-14 Thread Barney Boisvert
You can load an image into a BufferedImage (the Java class that undoubtedly backs the image.cfc you mentioned) from an arbitrary URL. Not sure the exact syntax, but a glimpse inside image.cfc and a browser with javadocs should get you started. cheers, barneyb On Tue, 14 Sep 2004 15:43:50 -0400,

Re: Determining the size of a remote image

2004-09-14 Thread Massimo, Tiziana e Federica
> 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

Re: Determining the size of a remote image

2004-09-14 Thread Howie Hamlin
Server PrismAV - Virus scanning for ColdFusion applications >>> Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm   - Original Message -   From: Rick Root   To: CF-Talk   Sent: Tuesday, September 14, 2004 3:43 PM   Subject: Determining the

Re: Determining the size of a remote image

2004-09-14 Thread Massimo Foti
> 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

Determining the size of a remote image

2004-09-14 Thread Rick Root
So, I've seen the image cfc that allows you to determine image size (among other things), but those images have to be local files. Is there anyway to retrieve an image via a URL and determine it's size WITHOUT reading the file in from the local file system?   I would just like to avoid a bunch