>>> $aImages[$iKey] = array(); $aImages[$iKey]['show_url'] = * URI of image displayed in the slideshow, relative or full (/images/show/myImage.jpg) || ( $aImages[$iKey]['filename'] = Just the actual file name with no path (myImage.jpg) $aImages[$iKey]['title'] = A text string of the title of the image (Goats jumping through hoops) $aImages[$iKey]['alt'] = An alt atribute for the image (A colorful depiction of goats jumping through hoops.) $aImages[$iKey]['caption'] = A caption that can contain html (Go Goat Jumping) $aImages[$iKey]['caption_class'] = Text of the class(es) for the caption (upper left) $aImages[$iKey]['thumbnail_url'] = URI of thumbnail, relative or full (/images/thumbs/myImage.jpg) || ( $aImages[$iKey]['colorbox_url'] = URI of image displayed in the colorbox, relative or full (/images/colorbox/myImage.jpg) || ( $aImages[$iKey]['show_full_url'] = URI of Full size image, relative or full (/images/full/myImage.jpg) || ( $aImages[$iKey]['click_url'] = URI of link to wrap around the photo or caption, relative or full (/node/222) || ( $aImages[$iKey]['cta_btn_text'] = Any button text that should show up within the click_uri div. If click_uri is not provided, the text will not be displayed $aImages[$iKey]['filename'] = Just the actual file name with no path (myImage.jpg) $aImagesSShow[$iKey]['video_nid'] = (isset($aEntity->field_video_reference[$sLang][0]['target_id']))? $aEntity->field_video_reference[$sLang][0]['target_id']:''; */ //NOTE: mmg_custom_article_page.module passes in $oNode //dprint_r($oNode->field_article_images); if(!empty($oNode->field_article_images)) { $aImages = array(); foreach ($oNode->field_article_images[$oNode->language] as $k=>$aImage) { if ($aImage['type'] == 'image') { $aImages[$k]['fid'] = $aImage['fid']; $aImages[$k]['show_url'] = image_style_url('sliderkit_internal_pages', $aImage['uri']); $aImages[$k]['filename'] = $aImage['filename']; if (!empty($aImage['field_image_title'])) { $aImages[$k]['title'] = $aImage['field_image_title'][$oNode->language][0]['value']; } if (!empty($aImage['field_image_alt'])) { $aImages[$k]['alt'] = $aImage['field_image_alt'][$oNode->language][0]['value']; } if (!empty($aImage['field_image_alt'])) { $aImages[$k]['caption'] = $aImage['field_image_alt'][$oNode->language][0]['value']; } $aImages[$k]['caption_class'] = 'article-caption'; $aImages[$k]['thumbnail_url'] = image_style_url('thumbnail', $aImage['uri']); //$aImages[$k]['colorbox_url'] = file_create_url($aImage['uri']); $aImages[$k]['colorbox_url'] = image_style_url('large', $aImage['uri']); $aImages[$k]['show_full_url'] = file_create_url($aImage['uri']); } elseif ($aImage['type'] == 'video') { $nid = mmg_globals_youtube_video_file_to_nid($aImage['filename']); $aImages[$k]['video_nid'] = $nid; $node = node_load($nid); $aFieldImage = field_get_items('node',$node,'field_youtube_image'); $aYouTubeImage = $aFieldImage[0]; $aImages[$k]['show_url'] = image_style_url('sliderkit_internal_pages', $aYouTubeImage['uri']); $aImages[$k]['filename'] = $aYouTubeImage['filename']; if (!empty($aYouTubeImage['field_image_title'])) { $aImages[$k]['title'] = $aYouTubeImage['field_image_title'][$oNode->language][0]['value']; } if (!empty($aYouTubeImage['field_image_alt'])) { $aImages[$k]['alt'] = $aYouTubeImage['field_image_alt'][$oNode->language][0]['value']; } if (!empty($aYouTubeImage['field_image_title'])) { $aImages[$k]['caption'] = $aYouTubeImage['field_image_alt'][$oNode->language][0]['value']; } $aImages[$k]['caption_class'] = 'article-caption'; $aImages[$k]['thumbnail_url'] = image_style_url('thumbnail', $aYouTubeImage['uri']); $aImages[$k]['colorbox_url'] = file_create_url($aYouTubeImage['uri']); $aImages[$k]['show_full_url'] = file_create_url($aYouTubeImage['uri']); } } //This defines the sliderkit options and requires the following structure. All items are optional $aOptionsSShow = array( //'cssprefix' => '', // the class to put on wrapper, only required if you will have multiple slideshows on a page (class_for_this_show) 'panel' => array( //Panel Options -------The panel is the main slide region-------------- 'slide_counter' => 1, // include the "# of ##" pattern in the panel overlay (true,t,1||false,f,0) default FALSE 'delay' => 0, // in milliseconds if set to zero there is no autostart //'scrollwheel' => 1, // turns on or off scroll wheel navigation(true,t,1||false,f,0) //'circular' => '', //turns on or off whether the slideshow loops (true,t,1||false,f,0) 'caption' => 1, //display the caption in the panel (true,t,1||false,f,0) //'display_title' => '', //display the title in the panel (true,t,1||false,f,0) //'display_alt' => '', //display the alt in the panel (true,t,1||false,f,0) 'display_btns' => 1, //displays the prev and next slide buttons (true,t,1||false,f,0) //'btns_hover' => '', //Controls whether the prev next buttons on the slide show only show on hover.(true,t,1||false,f,0) 'click' => 'colorbox', //Controls whether the slidehshow advances on click of the slide. If colorbox, the click will open the colorbox (true,t,1||false,f,0||colorbox) //'vertical' => '', //Controls whether the slidehshow goes horizontal or vertical (true,t,1||false,f,0) //'transition_easing' => '', //controls any easing of the main slide show images as they change(swing||linear) 'fx' => 'fading', //contols the transition type (fading||sliding||none) //'fx_speed' => '', //Set the panel slide transition effect speed in ms (500) 'video_play_in' => 'colorbox', //specifies whether a video will play within the slideshow, the colorbox, or will not play in either (colorbox || slideshow || none) ), 'nav' => array( //Navigation Options ----- for the optional display of thumbnails, tabs or pagers --------------------- 'num_thumbnails_to_display' => 0, // integer for the number of thumbnails to display. Setting 0 causes none to display.(4) //'load_on_thumb_hover' => '', // setting for displaying the slide on upon hovering on the thumb(true,t,1||false,f,0) //'center_thumbnails' => '', // controls whether the thumbs are centered in the nav (true,t,1||false,f,0) //'vertical' => '', // Controls whether the navigation thumbnails go horizontal or vertical(true,t,1||false,f,0) //'display_prev_next' => '', // contols whether the nex prev buttons for the thumbnail group appears(true,t,1||false,f,0) //'thumbnail_speed' => '', // sets the scroll speed of the thumbnails in milliseconds (600) //'thumbnail_fx' => '', // controls the type of motion as the thumbnails move (sliding||none) ) ); print mmg_generate_sliderkit($aImages,$aOptionsSShow); }

The river town of Lambertville makes an attractive meeting destination – not just for its picture-perfect views, but also for its adventurous spirit. Shoppers, outdoorsmen and historians alike will want to unwind after their meetings; shopaholics can peruse the antiques shops and art galleries; if time permits outdoor enthusiasts can ride the gentle rapids of the Delaware River by inner tube; and historians can stand where George Washington camped during the Revolutionary War. Take the group for a pint of locally brewed beer and set your attendees up at a quaint bed and breakfast.