Re: cfimage error
*Many times, I dearly wished for a TCP protocol that would allow me to punch someone through Ethernet, but alas this has not yet been perfected.* ** ** +1 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353941 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
> The best guess is my email address is somehow double entered into the > database and its too complex for Michael D. to solve. My guess is that you have registered a different email address, and that this address forwards to your Gmail address. > Truly, the manager of this list is a lesson in the bad CF programmers > you hear about who give us all a bad name. I think that's an unfair statement to make, to say the least. I've run high-volume mailing lists, and seen many cases just like yours where someone couldn't unsubscribe. The problem - in all of those cases - had to do with the user subscribing with a different email address, setting up forwarding, and forgetting all about it. This is one reason why I'm happy not to run any high-volume mailing lists any more. Many times, I dearly wished for a TCP protocol that would allow me to punch someone through Ethernet, but alas this has not yet been perfected. The manager of this list is providing a free service. He does not make any money from it. It costs him time and money to administer. > so im just going to start being a smart ass until i'm unsubscribed > after months of effort to get off this list. You could spend five minutes setting up a Gmail filter and not being a dick. Your choice I guess. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353939 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfimage error / TRY THIS!
Correction to one line: Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_wi ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353928 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfimage error / TRY THIS!
This should solve your problem. It's a function from one of my CF Components it will return various image properties including the width and height (unless it's CYMK, but then it will let you know that too). Put the function below in a CFC. jFileIn = createObject("java","java.io.File").init(arguments.image_file); ImageInfo = StructNew(); ImageObject = createObject("java","javax.imageio.ImageIO").read(jFileIn); imageFile = CreateObject("java", "java.io.File"); imageFile.init(arguments.image_file); sizeb = imageFile.length(); sizekb = numberformat(sizeb / 1024, "9.99"); sizemb = numberformat(sizekb / 1024, ".99"); get_imginfo = StructNew(); get_imginfo.ImgWidth = ImageObject.getWidth(); get_imginfo.ImgHeight = ImageObject.getHeight(); get_imginfo.ImageType = ImageObject.getColorModel().getColorSpace().getType(); if (get_imginfo.ImageType eq 9) { get_imginfo.ImageType="CYMK";} else if (get_imginfo.ImageType eq 5) { get_imginfo.ImageType="RGB";} else {get_imginfo.ImageType="UNKNOWN";}; get_imginfo.SizeKB = sizekb; get_imginfo.SizeMB = sizemb; return get_imginfo; get_imginfo = StructNew(); get_imginfo.ImgWidth = 0; get_imginfo.ImgHeight = 0; get_imginfo.SizeKB = 0; get_imginfo.SizeMB = 0; get_imginfo.ImageType = "UNKNOWN"; return get_imginfo; Call the function with this: To see what values are returned so you can determine what you have to use do: Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message----- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: Tuesday, January 15, 2013 11:50 PM To: cf-talk Subject: Re: cfimage error cfimage is really quite buggy... it has file locking issues. you have to fiddle with the tag and function version until something works reliably in a high demand environment. It is truthfully only marginally better than the native java stuff. On Tue, Jan 15, 2013 at 3:59 PM, Tim Do wrote: > > The images are all named correctly since I'm able to pull the images up and > display them. > The coldfusion server that the cfimage code resides on is calling the image > from another server. I verified all permissions and even added everyone full > access to test and it still didn't work. I created a virtual directory to the > image server and the cfimage tag started working again. I'm not sure what > security differences are between the methods but the virtual directory fixed > my issue. > > -Original Message- > From: Bill Moniz [mailto:hydro.b...@gmail.com] > Sent: Tuesday, January 15, 2013 2:13 PM > To: cf-talk > Subject: Re: cfimage error > > > Just because I ran into this CFimage problem yesterday... Are the images by > any change named with the wrong extension? For example, a PNG inmage > mistakenly named with a JPG extension? If you examine the first bit of the > file in a hex editor, you can see the difference. > > Cheers. > > On 16 January 2013 08:57, Tim Do wrote: > >> >> All images are RGB/BW no CMYK. >> >> -Original Message- >> From: Robert Harrison [mailto:rob...@austin-williams.com] >> Sent: Tuesday, January 15, 2013 1:48 PM >> To: cf-talk >> Subject: RE: cfimage error >> >> >> Is the image CYMK? That could cause a problem. >> >> >> Robert Harrison >> Director of Interactive Services >> >> Austin & Williams >> Advertising I Branding I Digital I Direct >> 125 Kennedy Dri
RE: cfimage error
Actually Larry...he is right...it does give us an lesson...he is making an example of himself...of how to be a complete ass. This sarcasm free statement brought to you by the makers of get a fraken soul already... Eric -Original Message- From: Larry Lyons [mailto:larrycly...@gmail.com] Sent: Wednesday, January 16, 2013 8:56 AM To: cf-talk Subject: Re: cfimage error >Truly, the manager of this list is a lesson in the bad CF programmers >you hear about who give us all a bad name. > No he is not. He is currently recovering from surgery. And is it too difficult to use the delete key until Mike can get out of his hospital bed and instantly accommodate your wishes. pardon me I forgot the tags ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353926 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
>so im just going to start being a smart ass until i'm unsubscribed >after months of effort to get off this list. > start being a smart ass? from this behavior that was started long ago. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353925 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
>Truly, the manager of this list is a lesson in the bad CF programmers >you hear about who give us all a bad name. > No he is not. He is currently recovering from surgery. And is it too difficult to use the delete key until Mike can get out of his hospital bed and instantly accommodate your wishes. pardon me I forgot the tags ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353924 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
Actually I do recal michael or judith posting something recently about problems with the unsubscribe, so you may need to wait for him to reply. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 8:34 AM, "Dan Baughman" wrote: > > many, many times. > > I've tried several permutations of accounts and unsubscribe options > after being logged in. > > The best guess is my email address is somehow double entered into the > database and its too complex for Michael D. to solve. > > I've emailed him and the website contact us form several times. > > When i started this endeavor the forgot password link didn't even > work, and i was excited when that was fixed, but alas, I continue to > receive emails even after selecting unsubscribe. > > Truly, the manager of this list is a lesson in the bad CF programmers > you hear about who give us all a bad name. > > On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels > wrote: > > > > Did you try clicking the unsubscribe link that is in plain sight on the > > footer of every single message.? > > > > Regards > > Russ Michaels > > www.michaels.me.uk > > www.cfmldeveloper.com - Free CFML hosting for developers > > www.cfsearch.com - CF search engine > > On Jan 16, 2013 4:48 AM, "Dan Baughman" wrote: > > > >> > >> honestly people how do you get off this list? > >> > >> On Tue, Jan 15, 2013 at 3:59 PM, Tim Do wrote: > >> > > >> > The images are all named correctly since I'm able to pull the images > up > >> and display them. > >> > The coldfusion server that the cfimage code resides on is calling the > >> image from another server. I verified all permissions and even added > >> everyone full access to test and it still didn't work. I created a > virtual > >> directory to the image server and the cfimage tag started working again. > >> I'm not sure what security differences are between the methods but the > >> virtual directory fixed my issue. > >> > > >> > -Original Message- > >> > From: Bill Moniz [mailto:hydro.b...@gmail.com] > >> > Sent: Tuesday, January 15, 2013 2:13 PM > >> > To: cf-talk > >> > Subject: Re: cfimage error > >> > > >> > > >> > Just because I ran into this CFimage problem yesterday... Are the > images > >> by any change named with the wrong extension? For example, a PNG inmage > >> mistakenly named with a JPG extension? If you examine the first bit of > the > >> file in a hex editor, you can see the difference. > >> > > >> > Cheers. > >> > > >> > On 16 January 2013 08:57, Tim Do wrote: > >> > > >> >> > >> >> All images are RGB/BW no CMYK. > >> >> > >> >> -Original Message- > >> >> From: Robert Harrison [mailto:rob...@austin-williams.com] > >> >> Sent: Tuesday, January 15, 2013 1:48 PM > >> >> To: cf-talk > >> >> Subject: RE: cfimage error > >> >> > >> >> > >> >> Is the image CYMK? That could cause a problem. > >> >> > >> >> > >> >> Robert Harrison > >> >> Director of Interactive Services > >> >> > >> >> Austin & Williams > >> >> Advertising I Branding I Digital I Direct > >> >> 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T > 631.231.6600 X > >> >> 119 F 631.434.7022 http://www.austin-williams.com > >> >> > >> >> Blog: http://www.austin-williams.com/blog > >> >> Twitter: http://www.twitter.com/austin_williams > >> >> > >> >> -Original Message- > >> >> From: Tim Do [mailto:t...@wng.com] > >> >> Sent: Tuesday, January 15, 2013 2:34 PM > >> >> To: cf-talk > >> >> Subject: cfimage error > >> >> > >> >> > >> >> I have this bit of code that used to work in the past... but now I'm > >> >> getting: > >> >> > >> >> An exception occurred while trying to read the image. > >> >> > >> >> javax.imageio.IIOException: Can't get input stream from URL! > >> >> > >> >> I verified that the image is still there and permissions are stil
Re: cfimage error
so im just going to start being a smart ass until i'm unsubscribed after months of effort to get off this list. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels wrote: > > Did you try clicking the unsubscribe link that is in plain sight on the > footer of every single message.? > > Regards > Russ Michaels > www.michaels.me.uk > www.cfmldeveloper.com - Free CFML hosting for developers > www.cfsearch.com - CF search engine > On Jan 16, 2013 4:48 AM, "Dan Baughman" wrote: > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353921 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
so im just going to start being a smart ass until i'm unsubscribed after months of effort to get off this list. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels wrote: > > Did you try clicking the unsubscribe link that is in plain sight on the > footer of every single message.? > > Regards > Russ Michaels > www.michaels.me.uk > www.cfmldeveloper.com - Free CFML hosting for developers > www.cfsearch.com - CF search engine > On Jan 16, 2013 4:48 AM, "Dan Baughman" wrote: > >> >> honestly people how do you get off this list? >> >> On Tue, Jan 15, 2013 at 3:59 PM, Tim Do wrote: >> > >> > The images are all named correctly since I'm able to pull the images up >> and display them. >> > The coldfusion server that the cfimage code resides on is calling the >> image from another server. I verified all permissions and even added >> everyone full access to test and it still didn't work. I created a virtual >> directory to the image server and the cfimage tag started working again. >> I'm not sure what security differences are between the methods but the >> virtual directory fixed my issue. >> > >> > -Original Message- >> > From: Bill Moniz [mailto:hydro.b...@gmail.com] >> > Sent: Tuesday, January 15, 2013 2:13 PM >> > To: cf-talk >> > Subject: Re: cfimage error >> > >> > >> > Just because I ran into this CFimage problem yesterday... Are the images >> by any change named with the wrong extension? For example, a PNG inmage >> mistakenly named with a JPG extension? If you examine the first bit of the >> file in a hex editor, you can see the difference. >> > >> > Cheers. >> > >> > On 16 January 2013 08:57, Tim Do wrote: >> > >> >> >> >> All images are RGB/BW no CMYK. >> >> >> >> -Original Message- >> >> From: Robert Harrison [mailto:rob...@austin-williams.com] >> >> Sent: Tuesday, January 15, 2013 1:48 PM >> >> To: cf-talk >> >> Subject: RE: cfimage error >> >> >> >> >> >> Is the image CYMK? That could cause a problem. >> >> >> >> >> >> Robert Harrison >> >> Director of Interactive Services >> >> >> >> Austin & Williams >> >> Advertising I Branding I Digital I Direct >> >> 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X >> >> 119 F 631.434.7022 http://www.austin-williams.com >> >> >> >> Blog: http://www.austin-williams.com/blog >> >> Twitter: http://www.twitter.com/austin_williams >> >> >> >> -Original Message- >> >> From: Tim Do [mailto:t...@wng.com] >> >> Sent: Tuesday, January 15, 2013 2:34 PM >> >> To: cf-talk >> >> Subject: cfimage error >> >> >> >> >> >> I have this bit of code that used to work in the past... but now I'm >> >> getting: >> >> >> >> An exception occurred while trying to read the image. >> >> >> >> javax.imageio.IIOException: Can't get input stream from URL! >> >> >> >> I verified that the image is still there and permissions are still the >> >> same. I'm able to display the image fine. We're on cf9. >> >> >> >> > >> structName="FlrPlnInfo"> >> >> >> >> >> >> >> >> I'm just trying to get the width of the image. So I tried to use code >> >> below but just getting -1 for width and height. >> >> >> >> > >> class="java.awt.Toolkit"> >> >> >> >> > >> class="java.awt.Image"> >> >> >> >> >> >> img = tk.getDefaultToolkit().getImage("#getImage.imgName#"); >> >> width = img.getWidth(); >> >> height = img.getHeight(); >> >> >> >> #width##height# >> >> >> >> Thanks! >> >> >> >> >> >> >> >> >> >> >> >> >> > >> > >> > >> > >> >> > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353920 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
I've tried several permutations of accounts and unsubscribe options after being logged in. The best guess is my email address is somehow double entered into the database and its too complex for Michael D. to solve. I've emailed him and the website contact us form several times. When i started this endeavor the forgot password link didn't even work, and i was excited when that was fixed, but alas, I continue to receive emails even after selecting unsubscribe. Truly, the manager of this list is a lesson in the bad CF programmers you hear about who give us all a bad name. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels wrote: > > Did you try clicking the unsubscribe link that is in plain sight on the > footer of every single message.? > > Regards > Russ Michaels > www.michaels.me.uk > www.cfmldeveloper.com - Free CFML hosting for developers > www.cfsearch.com - CF search engine > On Jan 16, 2013 4:48 AM, "Dan Baughman" wrote: > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353919 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
many, many times. I've tried several permutations of accounts and unsubscribe options after being logged in. The best guess is my email address is somehow double entered into the database and its too complex for Michael D. to solve. I've emailed him and the website contact us form several times. When i started this endeavor the forgot password link didn't even work, and i was excited when that was fixed, but alas, I continue to receive emails even after selecting unsubscribe. Truly, the manager of this list is a lesson in the bad CF programmers you hear about who give us all a bad name. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels wrote: > > Did you try clicking the unsubscribe link that is in plain sight on the > footer of every single message.? > > Regards > Russ Michaels > www.michaels.me.uk > www.cfmldeveloper.com - Free CFML hosting for developers > www.cfsearch.com - CF search engine > On Jan 16, 2013 4:48 AM, "Dan Baughman" wrote: > >> >> honestly people how do you get off this list? >> >> On Tue, Jan 15, 2013 at 3:59 PM, Tim Do wrote: >> > >> > The images are all named correctly since I'm able to pull the images up >> and display them. >> > The coldfusion server that the cfimage code resides on is calling the >> image from another server. I verified all permissions and even added >> everyone full access to test and it still didn't work. I created a virtual >> directory to the image server and the cfimage tag started working again. >> I'm not sure what security differences are between the methods but the >> virtual directory fixed my issue. >> > >> > -Original Message- >> > From: Bill Moniz [mailto:hydro.b...@gmail.com] >> > Sent: Tuesday, January 15, 2013 2:13 PM >> > To: cf-talk >> > Subject: Re: cfimage error >> > >> > >> > Just because I ran into this CFimage problem yesterday... Are the images >> by any change named with the wrong extension? For example, a PNG inmage >> mistakenly named with a JPG extension? If you examine the first bit of the >> file in a hex editor, you can see the difference. >> > >> > Cheers. >> > >> > On 16 January 2013 08:57, Tim Do wrote: >> > >> >> >> >> All images are RGB/BW no CMYK. >> >> >> >> -Original Message- >> >> From: Robert Harrison [mailto:rob...@austin-williams.com] >> >> Sent: Tuesday, January 15, 2013 1:48 PM >> >> To: cf-talk >> >> Subject: RE: cfimage error >> >> >> >> >> >> Is the image CYMK? That could cause a problem. >> >> >> >> >> >> Robert Harrison >> >> Director of Interactive Services >> >> >> >> Austin & Williams >> >> Advertising I Branding I Digital I Direct >> >> 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X >> >> 119 F 631.434.7022 http://www.austin-williams.com >> >> >> >> Blog: http://www.austin-williams.com/blog >> >> Twitter: http://www.twitter.com/austin_williams >> >> >> >> -Original Message- >> >> From: Tim Do [mailto:t...@wng.com] >> >> Sent: Tuesday, January 15, 2013 2:34 PM >> >> To: cf-talk >> >> Subject: cfimage error >> >> >> >> >> >> I have this bit of code that used to work in the past... but now I'm >> >> getting: >> >> >> >> An exception occurred while trying to read the image. >> >> >> >> javax.imageio.IIOException: Can't get input stream from URL! >> >> >> >> I verified that the image is still there and permissions are still the >> >> same. I'm able to display the image fine. We're on cf9. >> >> >> >> > >> structName="FlrPlnInfo"> >> >> >> >> >> >> >> >> I'm just trying to get the width of the image. So I tried to use code >> >> below but just getting -1 for width and height. >> >> >> >> > >> class="java.awt.Toolkit"> >> >> >> >> > >> class="java.awt.Image"> >> >> >> >> >> >> img = tk.getDefaultToolkit().getImage("#getImage.imgName#"); >> >> width = img.getWidth(); >> >> height = img.getHeight(); >> >> >> >> #width##height# >> >> >> >> Thanks! >> >> >> >> >> >> >> >> >> >> >> >> >> > >> > >> > >> > >> >> > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353918 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, "Dan Baughman" wrote: > > honestly people how do you get off this list? > > On Tue, Jan 15, 2013 at 3:59 PM, Tim Do wrote: > > > > The images are all named correctly since I'm able to pull the images up > and display them. > > The coldfusion server that the cfimage code resides on is calling the > image from another server. I verified all permissions and even added > everyone full access to test and it still didn't work. I created a virtual > directory to the image server and the cfimage tag started working again. > I'm not sure what security differences are between the methods but the > virtual directory fixed my issue. > > > > -Original Message- > > From: Bill Moniz [mailto:hydro.b...@gmail.com] > > Sent: Tuesday, January 15, 2013 2:13 PM > > To: cf-talk > > Subject: Re: cfimage error > > > > > > Just because I ran into this CFimage problem yesterday... Are the images > by any change named with the wrong extension? For example, a PNG inmage > mistakenly named with a JPG extension? If you examine the first bit of the > file in a hex editor, you can see the difference. > > > > Cheers. > > > > On 16 January 2013 08:57, Tim Do wrote: > > > >> > >> All images are RGB/BW no CMYK. > >> > >> -Original Message- > >> From: Robert Harrison [mailto:rob...@austin-williams.com] > >> Sent: Tuesday, January 15, 2013 1:48 PM > >> To: cf-talk > >> Subject: RE: cfimage error > >> > >> > >> Is the image CYMK? That could cause a problem. > >> > >> > >> Robert Harrison > >> Director of Interactive Services > >> > >> Austin & Williams > >> Advertising I Branding I Digital I Direct > >> 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X > >> 119 F 631.434.7022 http://www.austin-williams.com > >> > >> Blog: http://www.austin-williams.com/blog > >> Twitter: http://www.twitter.com/austin_williams > >> > >> -Original Message- > >> From: Tim Do [mailto:t...@wng.com] > >> Sent: Tuesday, January 15, 2013 2:34 PM > >> To: cf-talk > >> Subject: cfimage error > >> > >> > >> I have this bit of code that used to work in the past... but now I'm > >> getting: > >> > >> An exception occurred while trying to read the image. > >> > >> javax.imageio.IIOException: Can't get input stream from URL! > >> > >> I verified that the image is still there and permissions are still the > >> same. I'm able to display the image fine. We're on cf9. > >> > >> >> structName="FlrPlnInfo"> > >> > >> > >> > >> I'm just trying to get the width of the image. So I tried to use code > >> below but just getting -1 for width and height. > >> > >> >> class="java.awt.Toolkit"> > >> > >> >> class="java.awt.Image"> > >> > >> > >> img = tk.getDefaultToolkit().getImage("#getImage.imgName#"); > >> width = img.getWidth(); > >> height = img.getHeight(); > >> > >> #width##height# > >> > >> Thanks! > >> > >> > >> > >> > >> > >> > > > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353917 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
cfimage is really quite buggy... it has file locking issues. you have to fiddle with the tag and function version until something works reliably in a high demand environment. It is truthfully only marginally better than the native java stuff. On Tue, Jan 15, 2013 at 3:59 PM, Tim Do wrote: > > The images are all named correctly since I'm able to pull the images up and > display them. > The coldfusion server that the cfimage code resides on is calling the image > from another server. I verified all permissions and even added everyone full > access to test and it still didn't work. I created a virtual directory to the > image server and the cfimage tag started working again. I'm not sure what > security differences are between the methods but the virtual directory fixed > my issue. > > -Original Message- > From: Bill Moniz [mailto:hydro.b...@gmail.com] > Sent: Tuesday, January 15, 2013 2:13 PM > To: cf-talk > Subject: Re: cfimage error > > > Just because I ran into this CFimage problem yesterday... Are the images by > any change named with the wrong extension? For example, a PNG inmage > mistakenly named with a JPG extension? If you examine the first bit of the > file in a hex editor, you can see the difference. > > Cheers. > > On 16 January 2013 08:57, Tim Do wrote: > >> >> All images are RGB/BW no CMYK. >> >> -Original Message- >> From: Robert Harrison [mailto:rob...@austin-williams.com] >> Sent: Tuesday, January 15, 2013 1:48 PM >> To: cf-talk >> Subject: RE: cfimage error >> >> >> Is the image CYMK? That could cause a problem. >> >> >> Robert Harrison >> Director of Interactive Services >> >> Austin & Williams >> Advertising I Branding I Digital I Direct >> 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X >> 119 F 631.434.7022 http://www.austin-williams.com >> >> Blog: http://www.austin-williams.com/blog >> Twitter: http://www.twitter.com/austin_williams >> >> -Original Message- >> From: Tim Do [mailto:t...@wng.com] >> Sent: Tuesday, January 15, 2013 2:34 PM >> To: cf-talk >> Subject: cfimage error >> >> >> I have this bit of code that used to work in the past... but now I'm >> getting: >> >> An exception occurred while trying to read the image. >> >> javax.imageio.IIOException: Can't get input stream from URL! >> >> I verified that the image is still there and permissions are still the >> same. I'm able to display the image fine. We're on cf9. >> >> > structName="FlrPlnInfo"> >> >> >> >> I'm just trying to get the width of the image. So I tried to use code >> below but just getting -1 for width and height. >> >> > class="java.awt.Toolkit"> >> >> > class="java.awt.Image"> >> >> >> img = tk.getDefaultToolkit().getImage("#getImage.imgName#"); >> width = img.getWidth(); >> height = img.getHeight(); >> >> #width##height# >> >> Thanks! >> >> >> >> >> >> > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353912 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
honestly people how do you get off this list? On Tue, Jan 15, 2013 at 3:59 PM, Tim Do wrote: > > The images are all named correctly since I'm able to pull the images up and > display them. > The coldfusion server that the cfimage code resides on is calling the image > from another server. I verified all permissions and even added everyone full > access to test and it still didn't work. I created a virtual directory to the > image server and the cfimage tag started working again. I'm not sure what > security differences are between the methods but the virtual directory fixed > my issue. > > -Original Message- > From: Bill Moniz [mailto:hydro.b...@gmail.com] > Sent: Tuesday, January 15, 2013 2:13 PM > To: cf-talk > Subject: Re: cfimage error > > > Just because I ran into this CFimage problem yesterday... Are the images by > any change named with the wrong extension? For example, a PNG inmage > mistakenly named with a JPG extension? If you examine the first bit of the > file in a hex editor, you can see the difference. > > Cheers. > > On 16 January 2013 08:57, Tim Do wrote: > >> >> All images are RGB/BW no CMYK. >> >> -Original Message- >> From: Robert Harrison [mailto:rob...@austin-williams.com] >> Sent: Tuesday, January 15, 2013 1:48 PM >> To: cf-talk >> Subject: RE: cfimage error >> >> >> Is the image CYMK? That could cause a problem. >> >> >> Robert Harrison >> Director of Interactive Services >> >> Austin & Williams >> Advertising I Branding I Digital I Direct >> 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X >> 119 F 631.434.7022 http://www.austin-williams.com >> >> Blog: http://www.austin-williams.com/blog >> Twitter: http://www.twitter.com/austin_williams >> >> -Original Message- >> From: Tim Do [mailto:t...@wng.com] >> Sent: Tuesday, January 15, 2013 2:34 PM >> To: cf-talk >> Subject: cfimage error >> >> >> I have this bit of code that used to work in the past... but now I'm >> getting: >> >> An exception occurred while trying to read the image. >> >> javax.imageio.IIOException: Can't get input stream from URL! >> >> I verified that the image is still there and permissions are still the >> same. I'm able to display the image fine. We're on cf9. >> >> > structName="FlrPlnInfo"> >> >> >> >> I'm just trying to get the width of the image. So I tried to use code >> below but just getting -1 for width and height. >> >> > class="java.awt.Toolkit"> >> >> > class="java.awt.Image"> >> >> >> img = tk.getDefaultToolkit().getImage("#getImage.imgName#"); >> width = img.getWidth(); >> height = img.getHeight(); >> >> #width##height# >> >> Thanks! >> >> >> >> >> >> > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353911 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfimage error
The images are all named correctly since I'm able to pull the images up and display them. The coldfusion server that the cfimage code resides on is calling the image from another server. I verified all permissions and even added everyone full access to test and it still didn't work. I created a virtual directory to the image server and the cfimage tag started working again. I'm not sure what security differences are between the methods but the virtual directory fixed my issue. -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Tuesday, January 15, 2013 2:13 PM To: cf-talk Subject: Re: cfimage error Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do wrote: > > All images are RGB/BW no CMYK. > > -Original Message- > From: Robert Harrison [mailto:rob...@austin-williams.com] > Sent: Tuesday, January 15, 2013 1:48 PM > To: cf-talk > Subject: RE: cfimage error > > > Is the image CYMK? That could cause a problem. > > > Robert Harrison > Director of Interactive Services > > Austin & Williams > Advertising I Branding I Digital I Direct > 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X > 119 F 631.434.7022 http://www.austin-williams.com > > Blog: http://www.austin-williams.com/blog > Twitter: http://www.twitter.com/austin_williams > > -Original Message- > From: Tim Do [mailto:t...@wng.com] > Sent: Tuesday, January 15, 2013 2:34 PM > To: cf-talk > Subject: cfimage error > > > I have this bit of code that used to work in the past... but now I'm > getting: > > An exception occurred while trying to read the image. > > javax.imageio.IIOException: Can't get input stream from URL! > > I verified that the image is still there and permissions are still the > same. I'm able to display the image fine. We're on cf9. > > structName="FlrPlnInfo"> > > > > I'm just trying to get the width of the image. So I tried to use code > below but just getting -1 for width and height. > >class="java.awt.Toolkit"> > >class="java.awt.Image"> > > > img = tk.getDefaultToolkit().getImage("#getImage.imgName#"); > width = img.getWidth(); > height = img.getHeight(); > > #width##height# > > Thanks! > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353908 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do wrote: > > All images are RGB/BW no CMYK. > > -Original Message- > From: Robert Harrison [mailto:rob...@austin-williams.com] > Sent: Tuesday, January 15, 2013 1:48 PM > To: cf-talk > Subject: RE: cfimage error > > > Is the image CYMK? That could cause a problem. > > > Robert Harrison > Director of Interactive Services > > Austin & Williams > Advertising I Branding I Digital I Direct > 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X > 119 F 631.434.7022 http://www.austin-williams.com > > Blog: http://www.austin-williams.com/blog > Twitter: http://www.twitter.com/austin_williams > > -Original Message- > From: Tim Do [mailto:t...@wng.com] > Sent: Tuesday, January 15, 2013 2:34 PM > To: cf-talk > Subject: cfimage error > > > I have this bit of code that used to work in the past... but now I'm > getting: > > An exception occurred while trying to read the image. > > javax.imageio.IIOException: Can't get input stream from URL! > > I verified that the image is still there and permissions are still the > same. I'm able to display the image fine. We're on cf9. > > > > > > I'm just trying to get the width of the image. So I tried to use code > below but just getting -1 for width and height. > >class="java.awt.Toolkit"> > >class="java.awt.Image"> > > > img = tk.getDefaultToolkit().getImage("#getImage.imgName#"); > width = img.getWidth(); > height = img.getHeight(); > > #width##height# > > Thanks! > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353906 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfimage error
All images are RGB/BW no CMYK. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, January 15, 2013 1:48 PM To: cf-talk Subject: RE: cfimage error Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, January 15, 2013 2:34 PM To: cf-talk Subject: cfimage error I have this bit of code that used to work in the past... but now I'm getting: An exception occurred while trying to read the image. javax.imageio.IIOException: Can't get input stream from URL! I verified that the image is still there and permissions are still the same. I'm able to display the image fine. We're on cf9. I'm just trying to get the width of the image. So I tried to use code below but just getting -1 for width and height. img = tk.getDefaultToolkit().getImage("#getImage.imgName#"); width = img.getWidth(); height = img.getHeight(); #width##height# Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353905 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfimage error
Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, January 15, 2013 2:34 PM To: cf-talk Subject: cfimage error I have this bit of code that used to work in the past... but now I'm getting: An exception occurred while trying to read the image. javax.imageio.IIOException: Can't get input stream from URL! I verified that the image is still there and permissions are still the same. I'm able to display the image fine. We're on cf9. I'm just trying to get the width of the image. So I tried to use code below but just getting -1 for width and height. img = tk.getDefaultToolkit().getImage("#getImage.imgName#"); width = img.getWidth(); height = img.getHeight(); #width##height# Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353903 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFImage Error... Unsupported Image Type??
The easiest way to tell what the problem is would be to try to open the image directly in the browser. IE won't render CMYK jpgs at all, it'll show it as broken. I've never specifically tried to view a progressive JPG in the browser but I'd be willing to bet that IE would show that just fine. -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Monday, February 25, 2008 8:11 AM To: CF-Talk Subject: RE: CFImage Error... Unsupported Image Type?? It could also be a CMYK JPG. -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Saturday, February 23, 2008 3:31 PM To: CF-Talk Subject: Re: CFImage Error... Unsupported Image Type?? >I've just finished working on a photo gallery and now that the client >is using it she has an image that is coming up "Unsupported Image Type" > >Funny thing is that it's a JPEG that she cropped in Photoshop. > >Any ideas? >Hatton I replied first thing this morn but it still hasn't come through. It could possibly be a progressive jpeg problem. http://www.oscararevalo.com/index.cfm/2008/1/26/CFImage-and-PJPEG-Images Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299821 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFImage Error... Unsupported Image Type??
It could also be a CMYK JPG. -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Saturday, February 23, 2008 3:31 PM To: CF-Talk Subject: Re: CFImage Error... Unsupported Image Type?? >I've just finished working on a photo gallery and now that the client >is using it she has an image that is coming up "Unsupported Image Type" > >Funny thing is that it's a JPEG that she cropped in Photoshop. > >Any ideas? >Hatton I replied first thing this morn but it still hasn't come through. It could possibly be a progressive jpeg problem. http://www.oscararevalo.com/index.cfm/2008/1/26/CFImage-and-PJPEG-Images Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299820 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFImage Error... Unsupported Image Type??
>I've just finished working on a photo gallery and now that the client >is using it she has an image that is coming up "Unsupported Image >Type" > >Funny thing is that it's a JPEG that she cropped in Photoshop. > >Any ideas? >Hatton I replied first thing this morn but it still hasn't come through. It could possibly be a progressive jpeg problem. http://www.oscararevalo.com/index.cfm/2008/1/26/CFImage-and-PJPEG-Images Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299780 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFImage Error... Unsupported Image Type??
>I've just finished working on a photo gallery and now that the client >is using it she has an image that is coming up "Unsupported Image >Type" > >Funny thing is that it's a JPEG that she cropped in Photoshop. > >Any ideas? >Hatton The first thing that came to mind when I read this was progressive JPEG's. They always screwed me if I didn't accomodate them in . Maybe has a hard time with'em? Then I ran across this blog. http://www.oscararevalo.com/index.cfm/2008/1/26/CFImage-and-PJPEG-Images hth, Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299770 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFImage Error... Unsupported Image Type??
Can't tell if it was CMYK or RGB. Here's what I know from looking at the image: File Size: 640k 440px x 250px (the size of the gallery viewer) Resolution: 300dpi (grr... the bane of my existence) Bit Depth: 24 Resolution Unit 2 Color Representation Unknown That is what Vista has to say about the image. On Fri, Feb 22, 2008 at 4:49 PM, Dennis Powers <[EMAIL PROTECTED]> wrote: > >> it's a JPEG that she cropped in Photoshop. > > She most likely saved it as a C images? > > > > Dennis Powers > UXB Internet - A website design and Hosting Company > http://www.uxbinternet.com/ > > > > > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299764 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFImage Error... Unsupported Image Type??
>> it's a JPEG that she cropped in Photoshop. She most likely saved it as a Chttp://www.uxbinternet.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299757 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFImage Error... Unsupported Image Type??
Is there resizing going on? If so, what are you using to resize it? I made a photo gallery plugin for Farcry 3 and had this error a few times. If I went into Fireworks and did "Save As" the image than worked fine. The images that I had problems with came from .TIF and we used a batch conversion program to change them over. _ Jake Churchill Team Leader 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 2:59 PM To: CF-Talk Subject: CFImage Error... Unsupported Image Type?? I've just finished working on a photo gallery and now that the client is using it she has an image that is coming up "Unsupported Image Type" Funny thing is that it's a JPEG that she cropped in Photoshop. Any ideas? Hatton ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299754 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4