Help get this topic noticed by sharing it on Twitter Twitter, Facebook Facebook, or email.
akc

how to get images in Wygwam fields to use EE path variable for file upload directory in img src?

I recently launched a client's site and in the process all the file upload directory paths had to be changed. I noticed afterwards that images inserted in Wygwam fields were all broken. It seemed like normal behavior, as Wygwam inserts HTML source code in the field.

If it's not expected behavior, I'd like to know...but if it is, I am wondering:

Is there a way to get Wygwam to tell CKEditor to use the EE path variable for the file upload directory (e.g. "{filedir_4}thumbs/465-Fairchild-225x300_thumb.jpg") so that all the image src URLs get updated with path updates in the EE system?

I looked at the documentation for CKEDITOR.config, but I couldn't find anything. I realize this might be a question for the CKEditor forum. Thanks for any tips and guidance.
8 people have
this question
+1
Reply