[RCD] Implementation of Feature Request #1490538

A.L.E.C alec at alec.pl
Sat Nov 7 13:31:36 CET 2015

On 11/06/2015 12:40 PM, Fabian Reimeier wrote:
> We would like to implement the feature request number #1490538, posted here <http://trac.roundcube.net/ticket/1490538>.

I'm not a big fan of this request, but ok.

> Our plan:
> Add a configuration option to the mailbox settings view to show/hide contact photos 
> store the selection as user pref in DB

I'd see this in Preferences > Address Book

> Edit the templates „messagepreview.html" and „message.html":
> Add environment variable to add „contactphoto" div only when according user preference is set
> For all other templates we can’t edit, we would change  the "rcmail_message_contactphoto" function to only search for a contact photo if the option is set and return a blank image otherwise.

I think it would be also good to hide completely the photo widget in
contact view/edit page.

Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer        [http://kolab.org]
Roundcube Webmail Developer  [http://roundcube.net]
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl

More information about the dev mailing list