Author Topic: Can we disable contact's photo in address book ?  (Read 3802 times)

Offline HARRYHU

  • Newbie
  • *
  • Posts: 4
Can we disable contact's photo in address book ?
« on: May 04, 2017, 10:57:57 PM »
Hi,

I am new in RCMail,
I am wonder to know how to disable contact photo in address book?

any advise?

Harry


Offline HARRYHU

  • Newbie
  • *
  • Posts: 4
Re: Can we disable contact's photo in address book ?
« Reply #1 on: May 10, 2017, 03:17:20 AM »
Hello,

I have comment out 1 line code about  photo in func.inc , photo just disappear.
(Line 52)
###############func.inc##################
.....
.....
//   'photo'        => array('type' => 'image', 'limit' => 1, 'category' => 'main'),
....
###############func.inc##################

Harry


Offline rm13

  • Full Member
  • ***
  • Posts: 129
Re: Can we disable contact's photo in address book ?
« Reply #2 on: May 10, 2017, 01:39:47 PM »
Check your defaults.inc.php for "inline_images" to see how to change it in config.inc.php


Offline HARRYHU

  • Newbie
  • *
  • Posts: 4
Re: Can we disable contact's photo in address book ?
« Reply #3 on: May 10, 2017, 11:30:54 PM »
Check your defaults.inc.php for "inline_images" to see how to change it in config.inc.php


Thanks for your advise.
But why I need do check that ? 
( I just want no show any contact's photo, and user can't add photo for contact in addressbook.)

-----------------------------------------------------------------------------------------------------------------------
// Size of thumbnails from image attachments displayed below the message content.
// Note: whether images are displayed at all depends on the 'inline_images' option.
// Set to 0 to display images in full size.


Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Can we disable contact's photo in address book ?
« Reply #4 on: May 11, 2017, 02:13:30 AM »
inline_images option has nothing to do with contact photos. There's no option to disable contact photos, but we've been asked for such an option before, so maybe some day... https://github.com/roundcube/roundcubemail/issues/5143

Offline HARRYHU

  • Newbie
  • *
  • Posts: 4
Re: Can we disable contact's photo in address book ?
« Reply #5 on: May 11, 2017, 02:40:20 AM »
inline_images option has nothing to do with contact photos. There's no option to disable contact photos, but we've been asked for such an option before, so maybe some day... https://github.com/roundcube/roundcubemail/issues/5143

Dear Alec,

Thanks for your answer.

Harry