Posted by goldcougar on October 19, 2008 at 6:44pm
| Project: | IMCE_Gallery |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | goldcougar |
| Status: | active |
Issue Summary
If you are using custom file paths, you may have noticed that this module doesn't display the links correctly. This fix will use your standard imce settings for the images directory path. Around line 147 in imce_gallery.module, you'll see
$g_folder = variable_get('file_directory_path', 'files').'/'. $settings[$grid]['prefix'].$guid;Change that to...
$set = imce_settings_user();
$g_folder = $set['dir'];