>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
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",
Recently, someone has posted how to check image sizes using java in
CF. I have hundreds of images to check on one page where the images
are entered by users. On the code that was posted, a java object is
created and then a pict is assigned to it. It would seem that since
I am doing lots
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
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
~~
I am on CF5.0. Is there anything out there that lets me determine an image's
width, height and filesize?
TIA,
Dave
~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerfu
Good idea...
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 20, 2007 10:59 AM
To: CF-Talk
Subject: RE: Any way to specify image size in this code?
Also create a new page and test that the resize code works.
Adrian
-Original Message
Also create a new page and test that the resize code works.
Adrian
-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED]
Sent: 11 January 2007 22:22
To: CF-Talk
Subject: Re: Any way to specify image size in this code?
Hmmm, it looks like you have some functions in the href
---
From: "Rick Faircloth" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Thursday, January 11, 2007 1:58 PM
Subject: RE: Any way to specify image size in this code?
> Nay... don't use firebug... or FireFox :o)
>
> (I do have it on my machine, however...)
>
&
Nay... don't use firebug... or FireFox :o)
(I do have it on my machine, however...)
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 3:54 PM
To: CF-Talk
Subject: Re: Any way to specify image size in this code?
also...you
Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 3:54 PM
To: CF-Talk
Subject: Re: Any way to specify image size in this code?
that should have worked from everything i've been reading.
can you copy/paste the resulting JS code from a view source in the browser?
On 1/11/
ser?
>
> On 1/11/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> > Nope... that didn't work, either...
> >
> >
> > -Original Message-
> > From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, January 11, 2007 3:30
; From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 11, 2007 3:30 PM
> To: CF-Talk
> Subject: Re: Any way to specify image size in this code?
>
> googling also suggests that you can specify the height and width as
> arguments in the new Image() call itself.
>
Nope... that didn't work, either...
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 3:30 PM
To: CF-Talk
Subject: Re: Any way to specify image size in this code?
googling also suggests that you can specify the height and wid
.width="200px";
//-->
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 3:28 PM
To: CF-Talk
Subject: Re: Any way to specify image size in this code?
also, try img.width = "200px";
not sure...just
L PROTECTED]>
> > To: "CF-Talk"
> > Sent: Thursday, January 11, 2007 12:17 PM
> > Subject: RE: Any way to specify image size in this code?
> >
> >
> > > Thanks for the reply, Adrian...
> > >
> > > I tried it like this...
> >
quot;;
img33641915#Get_New_Community.CurrentRow#.width=200;
//-->
-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 3:21 PM
To: CF-Talk
Subject: Re: Any way to specify image size in this code?
Could be that you need to switch the order of the secon
"CF-Talk"
> Sent: Thursday, January 11, 2007 12:17 PM
> Subject: RE: Any way to specify image size in this code?
>
>
> > Thanks for the reply, Adrian...
> >
> > I tried it like this...
> >
> > <!--
> > var img33641915#Get_New_Community.C
12:17 PM
Subject: RE: Any way to specify image size in this code?
> Thanks for the reply, Adrian...
>
> I tried it like this...
>
> <!--
> var img33641915#Get_New_Community.CurrentRow#=new Image();
> img33641915#Get_New_Community.CurrentRow#.width=200;
> im
munities/#Get_New_Community.Community_Photo_1#";
//-->
with your code stuck on the end of the second line,
but nothing's changing with the image size.
Do I need to put it in another spot?
Rick
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 3:06 P
Try:
img33641915#Get_New_Community.CurrentRow#.width = 100;
img33641915#Get_New_Community.CurrentRow#.height = 100;
Ade
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: 11 January 2007 20:01
To: CF-Talk
Subject: Any way to specify image size in this code?
Hi
Hi, all.
I was wondering if there is any way to specify the image size in this code:
<!--
var img33641915#Get_New_Community.CurrentRow#=new Image();
img33641915#Get_New_Community.CurrentRow#.src="#Website#/created_assets/phot
os/new_communities/#Get_New_Community.Community
Does anyone know of a free or cheap ($20 or less) custom tag that will
give me the pixel dimensions of a progressive jpg file?
All of my current image size custom tags cough up a spleen when I try to
get the height and width from a progressive jpg as opposed to a regular
jpg file.
FYI, I get
> 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]
mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message -
From: Chad McCue
To: CF-Talk
Sent: Wednesday, September 01, 2004 9:47 AM
Subject: Image size
Does anyone know a way to get the width and height of an image when it is upload.
[Todays Threads]
[
Does anyone know a way to get the width and height of an image when it is upload.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
On Tue, 19 Nov 2002 16:30:07 -0800, in cf-talk you wrote:
>I'm using the custom tag imagesize to get the width/height of uploaded
>images. I'm finding a problem sometimes with very simple jpeg uploads.
>Say the image is 200 x 200. I can upload it to the server and it
>remains 200 x 200 (I've check
I'm using the custom tag imagesize to get the width/height of uploaded
images. I'm finding a problem sometimes with very simple jpeg uploads.
Say the image is 200 x 200. I can upload it to the server and it
remains 200 x 200 (I've checked), but the imagesize tag tells me the
image is 112 x 112.
If
Seems to me this would be quite useful on pop-up display windows tho.
| -Original Message-
| From: Bob Haroche [mailto:spambait@;onpointsolutions.com]
| Sent: Wednesday, November 13, 2002 1:06 PM
| To: CF-Talk
| Subject: Re: Dynamically adjust window based on image size?
|
|
| >
bject: RE: Dynamically adjust window based on image size?
:
:
: Yeah I agree. Having your close and next ophoto buttons move with each
: click is totally annoying. Aside from usability though, there's
: aesthetics. IMO a site looks much slicker if all the images are a
: uniform size, even if it's n
e-
> From: Adrocknaphobia Jones [mailto:adrocknatalk@;hotmail.com]
> Sent: Thursday, 14 November 2002 9:59 a.m.
> To: CF-Talk
> Subject: RE: Dynamically adjust window based on image size?
>
>
> You know, from a usability perspective, re-sizing the browser window
> with
> You know, from a usability perspective, re-sizing the browser window
> with every click is really not a good idea. Personally, I would be
> pretty annoyed if my browser window kept resizing. I think you
should
> just open it to the maximum w/h and leave it at that.
I agree. I'm encouraging the c
Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division
-Original Message-
From: Matthew Walker [mailto:Matthew@;cabbagetree.co.nz]
Sent: Wednesday, November 13, 2002 3:54 PM
To: CF-Talk
Subject: RE: Dynamically adjust window based on image size?
How about this
How about this:
No cf at all!
Matthew Walker
http://www.matthewwalker.net.nz/
> -Original Message-
> From: Bob Haroche [mailto:spambait@;onpointsolutions.com]
> Sent: Thursday, 14 November 2002 9:31 a.m.
> To: CF-Talk
> Subject: Dynamically adjust window base
ails & allow click to display enlarged
image.
There was a tag on the exchange to get image size -- CF_ImageSize, i
think!
Dick
On Wednesday, November 13, 2002, at 12:31 PM, Bob Haroche wrote:
> I'm working on a feature where a visitor can click on a link for "more
> photos&
I'm working on a feature where a visitor can click on a link for "more
photos". That triggers a pop up window which displays the first of X
images in a slideshow. The list of images is created from a db query.
The images will be uploaded by the client and may not be all the same
dimensions. I'd li
the CF_ImageSize tag in the tag gallery doesn't work correctly with some
jpeg images saved in Photoshop 5.5 (possibly other versions too, haven't
tested them though).
Mark
~~
Structure your ColdFusion code with Fusebox. Get the official book a
There is a nice little CF_ImageSize tag in the gallery. It just "opens" the
file and grabs the size from the image header.
- Original Message -
From: "Ben Densmore" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, July 01,
can someone tell me if there is a way to grab the height and width of an image that
someone has uploaded to a server? or am I better off doing it in Javascript?
Thanks,
Ben Densmore
~~
Structure your ColdFusion code with Fusebox. Get the official
t;To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Friday, April 20, 2001 1:07 PM
>Subject: Image size
>
>
>> 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.
There are some command line programs available at fcoder.com which will
convert to
GIF, JPG, PNG, etc. You can run them with or .
You can specify
image size, destination name/location, etc.
We've been using them with pretty good results. They don't support AI or EPS
as source
(bummer
t: Friday, April 20, 2001 1:07 PM
Subject: Image size
> 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 thumb
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
PM
To: CF-Talk
Subject: Image size
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 from an
image as it is uploa
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
Skip Ogden" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, April 20, 2001 3:07 PM
Subject: Image size
> 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
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 from an
image as it is uploaded (with cffile)
Thanks...
~
>
> Question, you can grab a file size in a CFFile tag when you upload a
> file/image but can you also grab the image height and width?
>
> I could guess but I'm not entirely sure. It makes sense to have something
> like this.
Personally I use CFX_ImageInfo,
http://www.intrafoundation.com/freewar
ltd.
---
> -Original Message-
> From: Mark Smeets [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 25, 2000 5:45 AM
> To: [EMAIL PROTECTED]
> Subject: Grab image size with CFFile object attributes
>
>
> Question, y
Question, you can grab a file size in a CFFile tag when you upload a
file/image but can you also grab the image height and width?
I could guess but I'm not entirely sure. It makes sense to have something
like this.
Mark Smeets/stranger0/ICQ #1062196
"Mr. West, not every situation requires you
>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
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
> Subj
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.
Thanks
vinicius
79 matches
Mail list logo