Answers.Body: <p>This isn't fixing the root issue, but I tend to think the best practice here is to load media within the Wordpress Media Gallery and link to it in CiviMail. Content is best put in the CMS. That way, you can use the media for say a blog post and for CiviMail. It's more efficient.</p>
  
  <p>I think some day being able for Civi to query the WP media gallery would be most desirable.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-11T09:03:44.473Z
Answers.Text: "Civi to query the WP media gallery" - that's a really nice idea @andy-burns. Do you mean in CKEditor? FWIW if Civi defaulted to TinyMCE on WP, this would become much more straightforward.
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-11T13:10:37.413Z
Answers.Text: Your suggestion to put the image in the media library is what I have been using as a work around. It works for me.
Answers.UserDisplayName: Ben Bachrach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-10T19:11:11.163Z
Answers.LastActivityDate: 2020-03-10T19:11:11.163Z
Answers.UserDisplayName: Andy Burns
Body: <p>This question was asked before, and marked answered at:
  <a href="https://civicrm.stackexchange.com/questions/28416/unable-to-upload-or-view-files-through-the-ckeditor">Unable to upload or view files through the CKEditor</a></p>
  
  <p>but the adjustment recommended did not solve the problem for me.</p>
  
  <p>After upgrading to CiviCRM 5.22.1, I am no longer able to upload image files when working on defining a mailing.
  With previous versions of CiviCRM I could Upload an image using the dialog box Upload Tab that appears when clicking the image icon.</p>
  
  <p>On the 1. Define Mailing tab on
  ,,, /wp-admin/admin.php?page=CiviCRM&amp;q=civicrm%2Fa%2F#/mailing/151
  clicking the image icon opens a dialog box titled: Image Properties
  It has 4 tabs: | Image Info |  Link | Upload | Advanced</p>
  
  <p>Selecting the Upload Tab shows Choose File: </p>
  
  <p>I can enter an image file to import.
  But when I click the button "Send it to the Server"</p>
  
  <p>I get a JavaScript popup alert that says: "incorrect server response"</p>
  
  <p>Any suggestions?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-10T19:20:30.280Z
Comments.Text: Looks like a resource URL issue as no civi menu is loading, etc. If I think I am on the right site it still shows 5.9.1. Have you run upgrader? Seeing 'Blocked loading mixed active content' so SSL issue.
Comments.UserDisplayName: Andy Burns
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-11T13:35:13.433Z
Comments.Text: Using chrome inspect console: When clicking "Send it to the Server" the following message appears. I check the reference cited. The message and the reference didn't help me, but might help somebody.
  ckeditor.js?r=Lo5W8:19 [CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#filetools-response-error
Comments.UserDisplayName: Ben Bachrach
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-11T13:36:32.357Z
Comments.Text: (anonymous) @ ckeditor.js?r=Lo5W8:19
  d @ ckeditor.js?r=Lo5W8:10
  (anonymous) @ ckeditor.js?r=Lo5W8:11
  CKEDITOR.warn @ ckeditor.js?r=Lo5W8:18
  ...
  
  more like this but too long for the comment.
Comments.UserDisplayName: Ben Bachrach
Tags: <wordpress><mailing><images><upload>
Title: unable to upload image file when creating a message
ThreadText: # unable to upload image file when creating a message
  
  (Asked by: username_0 on 2020-03-10)
  
  This question was asked before, and marked answered at:
  [Unable to upload or view files through the CKEditor](https://civicrm.stackexchange.com/questions/28416/unable-to-upload-or-view-files-through-the-ckeditor)
  
  but the adjustment recommended did not solve the problem for me.
  
  After upgrading to CiviCRM 5.22.1, I am no longer able to upload image files when working on defining a mailing.
  With previous versions of CiviCRM I could Upload an image using the dialog box Upload Tab that appears when clicking the image icon.
  
  On the 1. Define Mailing tab on
  ,,, /wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fa%2F#/mailing/151
  clicking the image icon opens a dialog box titled: Image Properties
  It has 4 tabs: | Image Info | Link | Upload | Advanced
  
  Selecting the Upload Tab shows Choose File:
  
  I can enter an image file to import.
  But when I click the button "Send it to the Server"
  
  I get a JavaScript popup alert that says: "incorrect server response"
  
  Any suggestions?
  
  **Tags:** wordpress, mailing, images, upload
  
  > **Comments:**
  > **username_1**: Looks like a resource URL issue as no civi menu is loading, etc. If I think I am on the right site it still shows 5.9.1. Have you run upgrader? Seeing 'Blocked loading mixed active content' so SSL issue.  
  > **username_0**: Using chrome inspect console: When clicking "Send it to the Server" the following message appears. I check the reference cited. The message and the reference didn't help me, but might help somebody. ckeditor.js?r=Lo5W8:19 [CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#filetools-response-error  
  > **username_0**: (anonymous) @ ckeditor.js?r=Lo5W8:19 d @ ckeditor.js?r=Lo5W8:10 (anonymous) @ ckeditor.js?r=Lo5W8:11 CKEDITOR.warn @ ckeditor.js?r=Lo5W8:18 ...  more like this but too long for the comment.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-03-10. Score: 1
  
  This isn't fixing the root issue, but I tend to think the best practice here is to load media within the Wordpress Media Gallery and link to it in CiviMail. Content is best put in the CMS. That way, you can use the media for say a blog post and for CiviMail. It's more efficient.
  
  I think some day being able for Civi to query the WP media gallery would be most desirable.
  
  > **Comments:**
  > **username_2**: "Civi to query the WP media gallery" - that's a really nice idea @andy-burns. Do you mean in CKEditor? FWIW if Civi defaulted to TinyMCE on WP, this would become much more straightforward.  
  > **username_0**: Your suggestion to put the image in the media library is what I have been using as a work around. It works for me.  
  
  ---
  
  