or // 'div' to have it inserted as
. // If you choose 'div', you will have to manually delete any
tags manually // after deleting images from the TinyMCE window. // This setting will not affect tags, which are always wrapped with a //
tag, if using g2image alignment classes for the tags. $g2ic_class_mode = 'img'; // Change this to change the default "How to Insert" option. Valid options are // 'thumbnail_image', 'thumbnail_album', 'thumbnail_custom_url', 'thumbnail_only', // 'link_image', 'link_album', 'drupal_g2_filter', 'thumbnail_lightbox', // 'fullsize_image', and 'fullsize_only'. $g2ic_default_album_action = 'flash_slideshow_album'; $g2ic_default_image_action = 'thumbnail_image'; // Change this to change the default sort order. Valid options are 'title_asc', // 'title_desc', 'orig_time_desc' (origination time, newest first), // 'orig_time_asc' (origination time, oldest first), 'mtime_desc' (modification // time, newest first), and 'mtime_asc' (modification time, oldest first). $g2ic_sortby = 'title_asc'; $g2ic_album_sortby = 'title_asc'; // EMBEDDED MODE OPERATIONS // This section applies to embedded mode operations, other than WPG2. // If you have embedded your Gallery2 in another application (Drupal, Joomla // etc.), then you'll need to configure the following info to get G2Image to // create correctly fomatted links for your application. // // WPG2 users are already covered by communications between G2Image and // WPG2, so you do not need to set these parameters. // // The key for users of other platforms is to make sure that your settings here // match the embedded settings in your platform. This will result in img URLs // that will work well in your embedded application. // Set $g2ic_embedded_mode to TRUE to enable embedded mode operations. $g2ic_embedded_mode = FALSE; // If your Gallery2 main.php is in a different subdomain than G2Image, // you must set $g2ic_use_full_path to TRUE, and enter the full directory path // to Gallery2 in $g2ic_gallery2_path. However, G2Image by itself // does not support Gallery2 being in a different subdomain. You must use // another program with Gallery2 in embedded mode (like Drupal or Joomla) // with Gallery2 URL rewrite rules properly configured to redirect the resulting // link to Gallery2 in the other subdomain. That is why this setting is located in // the EMBEDDED MODE OPERATIONS section. // // If $g2ic_embedded_mode is set to FALSE, $g2ic_use_full_path must also be // set to false and the proper path must be entered into $g2ic_gallery2_path. $g2ic_use_full_path = FALSE; // $g2ic_gallery2_uri is the URL of your Gallery2 main page. // For example, if your Gallery2 main page is // http://www.domain.com/gallery2/main.php // then // $g2ic_gallery2_uri = 'http://www.domain.com/gallery2/main.php'; $protocol = ($_SERVER["SERVER_PROTOCOL"] == "HTTP/1.1" ) ? "http://" : "https://" ; //** or else ??? $g2ic_gallery2_uri = $protocol.$_SERVER["HTTP_HOST"]."/{$g2ic_gallery2_path}main.php"; //** //$g2ic_gallery2_uri = 'http://www.domain.com/gallery2/main.php'; // $g2ic_embed_uri is the URL of your embedded page. // For example, if your embedded page is // http://www.domain.com/wordpress/wp-gallery2.php // then // $g2ic_embed_uri = 'http://www.domain.com/wordpress/wp-gallery2.php'; $g2ic_embed_uri = 'http://www.domain.com/wordpress/wp-gallery2.php'; // DRUPAL GALLERY2 FILTER OPERATIONS // If you are using Drupal and have the Gallery2 Filter module activated, you // can insert a G2 Filter in the simplest format: [G2:itemid]. If you want to // make this the default action, set $g2ic_default_image_action to 'drupal_g2_filter'. // Set this to TRUE to enable. $g2ic_drupal_g2_filter = FALSE; // Set the Drupal G2 Filter prefix here $g2ic_drupal_g2_filter_prefix = 'G2'; // BBCODE OPERATIONS // Add documentation... $g2ic_bbcode_enabled = FALSE; $g2ic_bbcode_only = FALSE; // Default Flash Slideshow configuration values // See http://www.flashyourweb.com/dokukiki/doku.php/xmlmini:2.0 for details on options // Height and width of flash player window in pixels $g2ic_options['flash_slideshow_height'] = 150; $g2ic_options['flash_slideshow_width'] = 150; // Use thumbnails (false) or fullsize images (true) // The fullsize image will be the next larger of available resizes or the original $g2ic_options['flash_slideshow_use_full'] = 'true'; // Delay in seconds $g2ic_options['flash_slideshow_delay'] = 3; // true or false $g2ic_options['flash_slideshow_shuffle'] = 'false'; // true or false $g2ic_options['flash_slideshow_drop_shadow'] = 'false'; // Case sensitive: Blinds Fade Fly Iris Photo PixelDissolve Rotate Squeeze Wipe Zoom Random $g2ic_options['flash_slideshow_transition_in'] = 'Fade'; $g2ic_options['flash_slideshow_transition_out'] = 'Fade'; // Whether to have a link over the photos: true or false $g2ic_options['flash_slideshow_no_link'] = 'false'; // false or a URL. If set, replaces ALL of the links with this one URL $g2ic_options['flash_slideshow_alt_link'] = 'false'; // Target for links: _parent _blank _self _top or your own custom target for a named frame $g2ic_options['flash_slideshow_link_target'] = '_parent'; // false, top, or bottom $g2ic_options['flash_slideshow_show_title'] = 'false'; // FFFFFF = White 333333 = Charcoal 000000 = Black $g2ic_options['flash_slideshow_title_color'] = 'FFFFFF'; $g2ic_options['flash_slideshow_title_bg_color'] = '333333'; // none starMask roundedMask circleMask $g2ic_options['flash_slideshow_masks'] = 'none'; // Site information text for right-click menu. If empty, nothing shows on that menu. // Example 'Copyright 2007 4WiseGuys.com' $g2ic_options['flash_slideshow_site_info_text'] = ''; // Site information URL for right-click menu. If not empty, this will be the link behind // the site info text in the right-click menu. // Example 'http://www.4wiseguys.com' $g2ic_options['flash_slideshow_site_info_url'] = ''; ?>