Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Incomplete
-
Affects Version/s: 4.1.1
-
Fix Version/s: Unscheduled
-
Component/s: CiviMail
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
On 4.1.1 Drupal 6.25, multisite:
New CKEditor in CiviMail does upload, and display display images correctly within the CKEditor itself. However in a multi-site instance of Drupal the image is not displayed in the CiviMail message itself. This is because the way the path to the image changes between that within CKEditor itself, and the CiviMail message.
For example in the following drupal multi-site configuration:
/sites/default
/sites/example1.com
/sites/example2.com
The path an image file is uploaded to and displayed by CKEditor to is:
http://example1.com/sites/example1.com/files/civicrm/persist/contribute/images/image.jpg
This is good. This works correctly.
However in the Civimail message the path is constructed mistakenly to be:
http://example1.com/sites/default/files/civicrm/persist/contribute/images/image.jpg
This is bad. This does not work.
The error is:
/example1.com/ is replaced by
/default/
The work around is to go back to editing HTML to put in the <img> tag for CiviMail messages. This feature is not ready for a general CiviMail content editor role.
Presented in http://forum.civicrm.org/index.php/topic,24016.msg101036.html#msg101036