It's an error in the CFC.

Search for this line:

<cfif arguments.y LT 0 OR arguments.x GTE getHeight()>

Replace with:

<cfif arguments.y LT 0 OR arguments.y GTE getHeight()>


-----Original Message-----
From: Michael Clayton [mailto:[EMAIL PROTECTED] 
Sent: Monday, 9 January 2006 10:16 a.m.
To: CF-Talk
Subject: Problem with Alagad Image Component

I've been testing out Alagad Image Component and it's been great.
However, I'm having one peculiar problem.

Here is my setup:
http://www.twilighted.com/clayto/design/alagad/pixelcolor.cfm

As you can see, when you click on the image, it returns the coordinates
of the click in the URL, and Alagad turns those coordinates into RGB,
and a handy script turns RGB into Hex.

However, if you click too far to the right on the image, it returns this
strange error:  "Invalid y attribute.  The y attribute must be greater
than or equal to 0 and less than the image height."

Both of those conditions are met, but the error still crashes my party.
Any ideas?  I've been working on this for hours and can't make any
headway.






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228780
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to