Hello!
We are Luca and Fabian, two computer science master students from the "Freie Universität Berlin", and we would like to contribute to the Roundcube project.
We would like to implement the feature request number #1490538, posted here http://trac.roundcube.net/ticket/1490538. Our plan: Add a configuration option to the mailbox settings view to show/hide contact photos store the selection as user pref in DB 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.
We would appreciate any feedback!
Best wishes, Fabian and Luca
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.