[Tickets #5971] Re: Add support for contact photos with ability to sync
bugs at horde.org
bugs at horde.org
Sat Jun 7 20:29:39 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/5971
-----------------------------------------------------------------------
Ticket | 5971
Updated By | xk3 at mompl.org
Summary | Add support for contact photos with ability to sync
Queue | Turba
Version | HEAD
Type | Enhancement
State | Accepted
Priority | 1. Low
Milestone |
Patch |
Owners |
-----------------------------------------------------------------------
xk3 at mompl.org (2008-06-07 16:29) wrote:
If you do a chop and explicitly add a CR LF for terminating the base64
string
in the first chunk of Driver.php in patch.photo.turba-h3-2.2.diff, i.e.
$vcard->setAttribute('PHOTO;ENCODING=BASE64', "\r\n" .
chop(chunk_split(preg_replace('/(\r\n|\r|\n| )/','',$val,-1),
64,"\r\n")) .
"\r\n");
you can drop the read-only parameter from the photo attribute. As long as
you put a base64 photo (only tested jpeg) in the longtext form field, it
syncs fine to the E51 :o)
Martin
More information about the bugs
mailing list