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.
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.