Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: HARRYHU on May 04, 2017, 10:57:57 PM

Title: Can we disable contact's photo in address book ?
Post by: HARRYHU 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

Title: Re: Can we disable contact's photo in address book ?
Post by: HARRYHU 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

Title: Re: Can we disable contact's photo in address book ?
Post by: rm13 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

Title: Re: Can we disable contact's photo in address book ?
Post by: HARRYHU on May 10, 2017, 11:30:54 PM
Quote from: rm13 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


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.

Title: Re: Can we disable contact's photo in address book ?
Post by: alec 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
Title: Re: Can we disable contact's photo in address book ?
Post by: HARRYHU on May 11, 2017, 02:40:20 AM
Quote from: alec 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

Dear Alec,

Thanks for your answer.

Harry