If you are going to use bracket notation, you need to use quotes for struct 
keys that are not variables.

#[imageMetaData][exif]["Focal Length"]# - Coldfusion will be looking for a 
variable called exif.

Try this instead:
#imageMetaData["exif"]["Focal Length"]# should work.

--
Jeff

-------- Original Message --------
> From: "Jenny Gavin-Wear" <jenn...@fasttrackonline.co.uk>
> Sent: Wednesday, March 06, 2013 4:14 PM
> To: "cf-talk" <cf-talk@houseoffusion.com>
> Subject: RE: Space in a Struct Key
> 
> This fails:-
> <cfoutput>#[imageMetaData][exif]["Focal Length"]#</cfoutput>
> 
> and I am sure I tried every other combination except the right one.
> 
> You can see the structure here:-
> http://gallery.fasttrackonline.co.uk/admin/images/test.cfm
> 
> CF7, if that makes any difference.
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:354869
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to