honestly people how do you get off this list?

On Tue, Jan 15, 2013 at 3:59 PM, Tim Do <t...@wng.com> 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 <t...@wng.com> 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.
>>
>> <cfimage source="#getImage.imgName#" action="info"
>> 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.
>>
>> <cfobject type="JAVA" action="Create" name="tk"
>>           class="java.awt.Toolkit">
>> </cfobject>
>> <cfobject type="JAVA" action="Create" name="img"
>>           class="java.awt.Image">
>> </cfobject>
>> <cfscript>
>> img = tk.getDefaultToolkit().getImage("#getImage.imgName#");
>> width = img.getWidth();
>> height = img.getHeight();
>> </cfscript>
>> <cfoutput>#width#<br />#height#</cfoutput>
>>
>> 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

Reply via email to