>Sorry, yes... it removes anything that isn't a letter, number, underscore or
>hyphen
>
Very nice = thank you very much
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
ht
#x27;, '_', 'all')
Would result in:
joe_smiling__small_.jpg
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: daniel kessler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 2:19 PM
To: CF-Talk
Subjec
>A safe bet would be rereplace [^a-zA-Z0-9-_]
Thank you very much.
I want to just implement it without getting it, but I can't. What would that
clear out? My guess is that it only allows a-z (and caps) and 0 to 9 (and
maybe dash).
I do appreciate the help.
~
A safe bet would be rereplace [^a-zA-Z0-9-_]
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: daniel kessler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 1:25 PM
To: CF-Talk
Subject: Re: image size setup
Thank you
Thank you everyone - it's working now.
I have a related question, though it's not about referencing. It seems that
now that I'm going through java, the images often can't be read because their
title contains odd characters - characters that are fine in CF, for example
"joe_smiling (small).jpg"
If set_size needs a reference to the image object, return the image object
from init_image and then pass it to the set_size function.
Adrian
http://www.adrianlynch.co.uk/
-Original Message-
From: Daniel Kessler [mailto:[EMAIL PROTECTED]
Sent: 14 May 2008 15:18
To: CF-Talk
Subject: image s
erexpo.jpg');
imgObj = application.imgRdr.read(f);
imgObj.imageWidth = imgObj.getWidth();
imgObj.imageHeight = imgObj.getHeight();
return imgObj;
}
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Robert Harrison [ma
> Recently, someone has posted how to check image sizes using java in CF.
> This was not posted by me, but it was in response to my query. Works
great. My thanks to the person who first posted it.
function get_imageinfo(imgfile){
jFileIn = createObject("java",
I use CFX_JPG on my CF 4.5 machine all the time...
Rick
-Original Message-
From: Dave Francis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 1:14 PM
To: CF-Talk
Subject: RE: Image size
Could someone pls clear this up for me. I thought that CFX_'s
require C
I dont remember whether or not this code worked in CF5... I moved on and
never looked back heh
anyway... try it... it returns the width, height and file size (bytes,
kilobytes and megabytes)
function bhimginfo(imgfile){
jFileIn = createObject("java","java.io.File").init(imgfile);
I second ImageCR3... and third it and fourth it... and... [trails off]
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 12:32 PM
To: CF-Talk
Subject: RE: Image size
Efflare.com has ImageCR that can do what you want.
I use them all the time
On 1/23/07, Adrian Lynch <[EMAIL PROTECTED]> wrote:
>
> Has anyone else read this and suddenly felt very old?! I started on 4 and
> you're all talking like it was 6 odd years ago...
CF 4? You young whippersnapper! ;)
~|
Upgrad
>>I started on 4 and you're all talking like it was 6 odd years ago...
Young man, I started with version 1.2, about 12 years ago...
I remember, the docs was just an MSWord document by that time. ;-)
And can you believe this: queries name could only be used once in a
template.
If you had a query
> Could someone pls clear this up for me. I thought that
> CFX_'s require CF6 or greater?
No, they were introduced in CF 1.5, if I recall correctly. They had to be
written in C++ until either 4 or 5, I think. CFML custom tags were
introduced in CF 3.
Dave Watts, CTO, Fig Leaf Software
http
Has anyone else read this and suddenly felt very old?! I started on 4 and
you're all talking like it was 6 odd years ago...
oh, it was! :Oo
Ade
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: 23 January 2007 18:28
To: CF-Talk
Subject: Re: Image size
>
> -Original Message-
> From: Dave Francis [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 23, 2007 1:14 PM
> To: CF-Talk
> Subject: RE: Image size
>
> Could someone pls clear this up for me. I thought that CFX_'s require
> CF6
> or greater?
It depends on the CFX. You can load CFXs in 4.5 but it does not mean that all
CFXs will run on 4.5.
-Original Message-
From: Dave Francis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 1:14 PM
To: CF-Talk
Subject: RE: Image size
Could someone pls clear this up for
t CFX_'s require CF6
>or greater?
>
>-Original Message-
>From: Dave Phillips [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, January 23, 2007 11:18 AM
>To: CF-Talk
>Subject: Re: Image size
>
>
>Dave,
>
>I seem to remember there being a CFX_Image or CFX_Image
I believe that CF 5 and up supports CFX tags.
--
Bruce Sorge
"I'm a mawg: half man, half dog. I'm my own best friend!"
On 1/23/07, Dave Francis <[EMAIL PROTECTED]> wrote:
>
> Could someone pls clear this up for me. I thought that CFX_'s
> require CF6
> or greater?
>
>
Could someone pls clear this up for me. I thought that CFX_'s require
CF6
or greater?
-Original Message-
From: Dave Phillips [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 11:18 AM
To: CF-Talk
Subject: Re: Image size
Dave,
I seem to remember there being a CFX_
Efflare.com has ImageCR that can do what you want.
I use them all the time and they are rock solid applications.
Chad
-Original Message-
From: Dave Francis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 23, 2007 12:26 PM
To: CF-Talk
Subject: Image size
I am on CF5.0. Is there anyth
Dave,
I seem to remember there being a CFX_Image or CFX_ImageInfo. Google that.
Dave
>I am on CF5.0. Is there anything out there that lets me determine an image's
>width, height and filesize?
>
> TIA,
> Dave
~~
> Does anyone know a way to get the width and height of an image when it is
upload.
http://www.cfmentor.com/code/index.cfm?action="">
Massimo Foti
Certified Dreamweaver MX Developer
Certified Advanced ColdFusion MX Developer
http://www.massimocorner.com/
-
thanks
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
yes please send it to me
[EMAIL PROTECTED]
- Original Message -
From: Bryan Stevenson
To: CF-Talk
Sent: Wednesday, September 01, 2004 1:02 PM
Subject: Re: Image size
No it's a set of 2 functions written to be part of CFCsif that works for you I can send you the
hone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message -
From: Chad McCue
To: CF-Talk
Sent: Wednesday, September 01, 2004 9:54 AM
Subject: Re: Image size
Yes to both of those, would love to see
CTED]
web: www.electricedgesystems.com
- Original Message -
From: Asim Manzur
To: CF-Talk
Sent: Wednesday, September 01, 2004 9:55 AM
Subject: Re: Image size
Is it a CFX tag?
will you please post the name, I also need that.
thanks
[Todays Threads]
[This Message]
[Sub
Yes to both of those, would love to see that function.
- Original Message -
From: Bryan Stevenson
To: CF-Talk
Sent: Wednesday, September 01, 2004 12:49 PM
Subject: Re: Image size
Yepif you use CFCs and CF MX I can send ya a function that uses Java to find the file
Is it a CFX tag?
will you please post the name, I also need that.
thanks
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Yepif you use CFCs and CF MX I can send ya a function that uses Java to find the file dimensions and file size
Let me know
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail:
Hi all,
We tried using cfx_image here, but found there were problems with the
quality of jpegs outputted. Jukka Manner confirmed that this is a problem
because the tag is optimised for gifs. Our client at the time wanted high
quality jpegs as it was an artworks site.
So, we created our own imag
) but they do support quite a few different source file formats.
It would be a pretty easy job to make tags for these.
--Bill
-Original Message-
From: Don Vawter [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 22, 2001 12:03 PM
To: CF-Talk
Subject: Re: Image size
I use cfx_i
I use cfx_image which automatically creates a thumbnail (or any other size
you want). It uses image.dll. The properties tab say it was made by Cap
Gemini and copyright by Jukka Manner.
It looks to me like CF_GIFGD is the successor to this. It is in the gallery,
by the same author, and does thumbna
You can still get that tag at CFDEV.COM
At 03:07 PM 4/20/2001 -0400, you wrote:
>The Allaire Developers forum used to have a tag called cfx_imagesize (or
>something close to that). It isn't there any more, or I can't locate it.
>
>Does anyone know of ANY way to automatically create a thumbnail
We use cfx_image here. Works fine.
You can find it in the allaire dex exchange
Chris Martin
-Original Message-
From: Skip Ogden [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 3:08 PM
To: CF-Talk
Subject: Image size
The Allaire Developers forum used to have a tag called cfx_im
I typically use a percentage multiplier (like 25%) for the width and height
to create a thumbnail. I realize that it's not the best way, especially
since the images will be as large in file size as their "full size"
counterparts, but it is a simple solution. I guess it only becomes an issue
when
http://devex.allaire.com/developer/gallery/info.cfm?ID=CA3475C6-2830-11D4-AA
9700508B94F380&method=Full
Todd Ashworth --
- Original Message -
From: "Skip Ogden" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 3:07 PM
Subject: Image size
| The Allaire
You can get it here:
http://www.intrafoundation.com/cf.html
HTH,
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server
- Original Message -
From: "Skip Ogden" <[E
>I guess I've already seen this question but...
>Is the a CF/CFX tag that tells me the size of an image sent by the user?
>This value must be returned to me in a way that I could check if the
>Width/height does not override my maximum setting.
The CFX_GIFGD tag can read an image and will return
Check Allaire site, there are plenty of them. I'm using and
it works fine for me.
> -Original Message-
> From: Vinicius Caldeira Carvalho [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 06, 2000 6:36 PM
> To: Cftalk
> Subject: Image Size
>
>
> I guess I've already seen this question
Vinicius,
There is a CFX tag in the gallery called IMGSIZE.
It returns the sixe in bytes plus height and width.
Regards
Stephen
> -Original Message-
> From: Vinicius Caldeira Carvalho [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 06 April 2000 15:36
> To: Cftalk
> Subject: Image Size
>
41 matches
Mail list logo