Hi Tolux,
commited your fix to trunk:
http://svn.egroupware.org/egroupware/trunk/addressbook/inc/class.vcaladdressbook.inc.php
I added the phote to:
- $defaultFields[1] = array( // all entries, nexthaus corporation,…
- $defaultFields[7] = array( // SyncEvolution
Not sure if it belongs anywhere else. I have not yet backported it to
1.4, before I hear from Patrick and/or Nigel that it works …
Ralf
tolux schrieb:
hi,
while looking at addressbook/inc/class.vcaladdressbook.inc.php i ve noticed
broken jpegphoto handling.
changing
’PHOTO;JPEG’ => array(‘jpegphoto’),
to
’PHOTO’ => array(‘jpegphoto’),
and
case ‘jpegphoto’:
if(!empty($value))
{
error_log(“PHOTO=’”.$value."’");
$hasdata++;
}
break;
to
case ‘jpegphoto’:
if(!empty($value))
{
//error_log(“PHOTO=’”.$value."’");
$options[‘ENCODING’] = ‘BASE64’;
$options[‘TYPE’] = ‘JPEG’;
$value = base64_encode($value);
$hasdata++;
}
break;
should do the job.
regards,
tolux
–
Ralf Becker
eGroupWare Training & Support ==> http://www.egroupware-support.de
Outdoor Unlimited Training GmbH [www.outdoor-training.de]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 (0)631 31657-0
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don’t miss this year’s exciting event. There’s still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers