CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • No upload tab on image properties dialog
Pages: [1]

Author Topic: No upload tab on image properties dialog  (Read 2134 times)

bsilvern

  • I’m new here
  • *
  • Posts: 14
  • Karma: 2
  • CiviCRM version: 4.6
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.37-0+wheezy1
  • PHP version: 5.4.4-14+deb7u10
No upload tab on image properties dialog
April 07, 2015, 08:50:33 am
In 4.5 there is an upload tab on the image properties dialog.

In 4.6, as observed on the demo site, this tab is gone and there is no obvious way to upload an image.

Is this a bug, or has there been a change to the method of uploading images?

[Edit] Same problem with the Browse Server button on the Image Info tab. Was there in 4.5, now missing.
« Last Edit: April 07, 2015, 09:28:02 am by bsilvern »

r4zoli

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Wordpress
  • MySQL version: 5
  • PHP version: 5
Re: No image upload tab on image properties dialog
April 07, 2015, 09:26:55 am
I found this, it seems to me as bug. See my post:
http://forum.civicrm.org/index.php/topic,36236.0.html

bsilvern

  • I’m new here
  • *
  • Posts: 14
  • Karma: 2
  • CiviCRM version: 4.6
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.37-0+wheezy1
  • PHP version: 5.4.4-14+deb7u10
Re: No upload tab on image properties dialog
April 07, 2015, 07:41:36 pm
Bug reported at https://issues.civicrm.org/jira/browse/CRM-16175
https://issues.civicrm.org/jira/browse/CRM-16253 [Thanks to r4zoli for the correction]

For a temporary workaround, edit civicrm/packages/ckeditor/config.js as follows:

After
  "CKEDITOR.editorConfig = function( config ) {"

insert the code below, replacing '/drupal7' with your Drupal root path relative to your domain root (for many this will be null if the two paths are the same):

Code: [Select]
//Workaround for bug in CviCRM 4.6:
//  Bulk mail Email Editor: In CKeditor's image properties dialog, the Browse Server button on the Image Info tab and the
//  Upload tab are not displayed.  When sending email directly to to a contact from the contact's profile screen the problem
//  is not observed.
config.filebrowserBrowseUrl      = '/drupal7/sites/all/modules/civicrm/packages/kcfinder/browse.php?cms=civicrm&type=files';
config.filebrowserImageBrowseUrl = '/drupal7/sites/all/modules/civicrm/packages/kcfinder/browse.php?cms=civicrm&type=images';
config.filebrowserFlashBrowseUrl = '/drupal7/sites/all/modules/civicrm/packages/kcfinder/browse.php?cms=civicrm&type=flash';
config.filebrowserUploadUrl      = '/drupal7/sites/all/modules/civicrm/packages/kcfinder/upload.php?cms=civicrm&type=files';
config.filebrowserImageUploadUrl = '/drupal7/sites/all/modules/civicrm/packages/kcfinder/upload.php?cms=civicrm&type=images';
config.filebrowserFlashUploadUrl = '/drupal7/sites/all/modules/civicrm/packages/kcfinder/upload.php?cms=civicrm&type=flash';
« Last Edit: April 07, 2015, 10:29:44 pm by bsilvern »

r4zoli

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Wordpress
  • MySQL version: 5
  • PHP version: 5
Re: No upload tab on image properties dialog
April 07, 2015, 10:24:15 pm
The correct issue #:
https://issues.civicrm.org/jira/browse/CRM-16253

For wordpress sites:
   
Code: [Select]
        //Workaround for bug in CviCRM 4.6:
//  Bulk mail Email Editor: In CKeditor's image properties dialog, the Browse Server button on the Image Info tab and the
//  Upload tab are not displayed.  When sending email directly to to a contact from the contact's profile screen the problem
//  is not observed.
config.filebrowserBrowseUrl      = '/wp-content/plugins/civicrm/civicrm/packages/kcfinder/browse.php?cms=civicrm&type=files';
config.filebrowserImageBrowseUrl = '/wp-content/plugins/civicrm/civicrm/packages/kcfinder/browse.php?cms=civicrm&type=images';
config.filebrowserFlashBrowseUrl = '/wp-content/plugins/civicrm/civicrm/packages/kcfinder/browse.php?cms=civicrm&type=flash';
config.filebrowserUploadUrl      = '/wp-content/plugins/civicrm/civicrm/packages/kcfinder/upload.php?cms=civicrm&type=files';
config.filebrowserImageUploadUrl = '/wp-content/plugins/civicrm/civicrm/packages/kcfinder/upload.php?cms=civicrm&type=images';
config.filebrowserFlashUploadUrl = '/wp-content/plugins/civicrm/civicrm/packages/kcfinder/upload.php?cms=civicrm&type=flash';
« Last Edit: April 07, 2015, 11:14:29 pm by r4zoli »

r4zoli

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 1
  • CiviCRM version: 4.7
  • CMS version: Wordpress
  • MySQL version: 5
  • PHP version: 5
Re: No upload tab on image properties dialog
April 07, 2015, 11:30:28 pm
It is a half solution, the dialog box have the Upload tab and browse button.
 
But the the image no stick into email, in edit mode the image shows up in mail, but if you see the HTML preview, no image in mail. Or if you send test mail, in test mail no image.

Edit:
When reopened the saved mailing, no images. When tried second time in same test mail, the image sticks, but no frame around image, and I could re-size image only through dialog box, not with drag and drop.


Second edit:
It works, but problems with bigger images only, small button type images seems good. If your HTML mailing template contains tables, some problems could happens.
« Last Edit: April 08, 2015, 12:04:02 am by r4zoli »

bsilvern

  • I’m new here
  • *
  • Posts: 14
  • Karma: 2
  • CiviCRM version: 4.6
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.37-0+wheezy1
  • PHP version: 5.4.4-14+deb7u10
Re: No upload tab on image properties dialog
April 08, 2015, 12:22:16 am
I found that there seems to be another problem that might be causing your problems.

Make sure that in Drupal permissions that you are logged in as a user which has "CiviCRM: skip IDS check" permission.

Without that permission I was unable to save any email that contained an image, and if you can't save it then of course you cannot view the preview or send it.

[Edit] Confirmed IDS failure occurs if either an image or a table exists in the email.
Submitted bug report https://issues.civicrm.org/jira/browse/CRM-16257
« Last Edit: April 08, 2015, 07:36:29 am by bsilvern »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • No upload tab on image properties dialog

This forum was archived on 2017-11-26.