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 settings for the "Results of clicking on an // image:" option. Valid settings are 'one_click_insert' and // 'show_advanced_options'. $g2ic_click_mode = 'one_click_insert'; // Change this to determine if the user will have the option to determine // the settings for the the "Results of clicking on an image:" option. Set this // to FALSE to prevent users from being able to change the settings. $g2ic_click_mode_variable = TRUE; // 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_parent', and 'drupal_g2_filter'. $g2ic_default_action = 'thumbnail_image'; // Change this to change the default sort order. Valid options are 'title_asc', // 'title_desc', 'name_asc', 'name_desc', 'mtime_desc' (modification time, // newest first), and 'mtime_asc' (modification time, oldest first). $g2ic_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'; $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_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; ?>