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
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
> 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
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
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,
> 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
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
> 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'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
9 matches
Mail list logo