diff --git a/INSTALL.txt b/INSTALL.txt index 56e9d42a2dd6173779d40a3818d5497fa71ad99b..d0cf903c17815acabb15f9c82a005c5909fbd89d 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -56,6 +56,11 @@ Optional Steps you need to have installed the Album Select module. 4. URL Rewrite. + + 5. g2image. If you install g2image http://g2image.steffensenfamily.com as either a standalone or + TinyMCE plugin you will have an excellent image chooser for Drupal/Gallery2. The + configuration is automatic when you hit the 'submit' button on the gallery settings + page. Troubleshooting --------------- diff --git a/gallery_settings.inc b/gallery_settings.inc index 782408c2b2f8e3827f2edc266b77545b799fedef..134479d29bc34f722833b1b8cf84e72dddf40ee9 100644 --- a/gallery_settings.inc +++ b/gallery_settings.inc @@ -931,6 +931,7 @@ function _gallery_g2image_settings_form_validate(&$form_values) { $content .= '$g2ic_gallery2_uri = \'' . $form_values['gallery_uri'] . '\';' . $cr; $content .= '$g2ic_embed_uri = \'' . $form_values['gallery_embed_uri'] . '\';' . $cr; $content .= '$g2ic_drupal_g2_filter = TRUE;' . $cr; + $content .= '$g2ic_drupal_g2_filter_prefix = \'' . $form_values['gallery_filter_prefix'] . '\';' . $cr; $content .= '$g2ic_language = \'en\';' . $cr; $content .= '$g2ic_images_per_page = ' . $form_values['gallery_g2image_images_per_page'] . ';' . $cr; $content .= '$g2ic_display_filenames = ' . $g2ic_display_filenames . ';' . $cr;