Image paths in FCKEditor
| Project: | Web File Manager |
| Version: | 6.x-2.11 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
I have WebFM configured as the file browser for FCKEditor and it is working well. However when I right-click an image file and "Sent to rich text editor" it sends the actual file path ("File System"/"WebFM Root"/"File Name") to the editor. This works initially, but then if any of the files are moved on the server (say, to a sub-directory) this obviously changes the actual path and breaks the previously set image links.
Following on thisdiscussion, particularly response #20:
http://drupal.org/node/153623
I added the following to the "Advanced Options" under my FCKEditor profiles:
LinkBrowser= true;
ImageBrowser= true;
FlashBrowser= true;
LinkBrowserURL= Drupal.settings.basePath + '?q=webfm_popup&webfmid=txtUrl';
ImageBrowserURL= Drupal.settings.basePath + '?q=webfm_popup&webfmid=txtUrl';
FlashBrowserURL= Drupal.settings.basePath + '?q=webfm_popup&webfmid=txtUrl';
And now "sent to rich text editor" sends the db reference (webfm_send/fileID) instead of the actual file path. I can move the files around and the links do not break. My question is, is this still the preferred way to get this functionality to work? And will this approach still work with futiure updates to WebFM?
Thanks!
