Hi there. Since we're still using CF 5 at work, I went ahead and tried to run 
your code, and got the following error:

Error Occurred While Processing Request

Error Diagnostic Information

An error occurred while evaluating the expression:

           if (not structkeyexists(variables,"headerImages")){
                     variables.headerImages = arraynew(1);   
                    }  
           if (not arraylen(variables.headerImages)){
                     variables.img = structnew();
                     if (not variables.standardSideNav){ 
                                variables.img.filename = "myimage.jpg"; 
                                variables.img.alt = "My Image";
                                variables.img.width = "206";
                                variables.img.height = "173"; 
                                
arrayappend(variables.headerImages,structcopy(variables.img));
                        } 
                        variables.img.filename = "myimage_2.jpg";
                        variables.img.alt = "My Second Image"; 
                        variables.img.width = "407"; 
                        variables.img.height = "173"; 
                        
arrayappend(variables.headerImages,structcopy(variables.img)); 
          } 


Error near line 3, column 9.

Error resolving parameter VARIABLES

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252611
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to