Hi Patrick, it's a known bug in many Nokia phones that they have a maxSize of 255 on all fields, including the PHOTO.
And yes, there is a remoterule option called <ignoredevinfmaxsize> for that. It applies to all fields, however I agree that those constant 255 maxsizes are probably meaningless anyway. Lukas On Aug 26, 2010, at 17:24 , Patrick Ohly wrote: > Hello! > > I'm investigating why a photo sent to a Nokia device does not show > properly on the device. It was originally reported for a 5800 > (http://bugs.meego.com/show_bug.cgi?id=5860); I can also reproduce it > with a N97 mini. > > One problem is that the device lies about its capabilities. CTCap > contains 256 as maximum length for PHOTO. When encoding, the Synthesis > library dutifully obliges and truncates the field. > > The device clearly is capable of handling larger photos - the photo was > originally attached to the contact *on* the device itself and then > copied to the server. > > Is there a remote rule that I can use to ignore the length limitation of > the PHOTO property? Should I ignore the whole CTCap, as it is clearly > not based on reality? I think there is an option for that, but won't > that have undesirable effects like not preserving local extensions that > are really not supported by the phone? > > Another problem might be the TYPE. Evolution doesn't set JPEG by itself. > We may have to add that to the outgoing PHOTO. > > -- > Best Regards, Patrick Ohly > > The content of this message is my personal opinion only and although > I am an employee of Intel, the statements I make here in no way > represent Intel's position on the issue, nor am I authorized to speak > on behalf of Intel on this matter. > > > > _______________________________________________ > os-libsynthesis mailing list > os-libsynthesis@synthesis.ch > http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis Lukas Zeller (l...@synthesis.ch) - Synthesis AG, SyncML Solutions & Sustainable Software Concepts i...@synthesis.ch, http://www.synthesis.ch _______________________________________________ os-libsynthesis mailing list os-libsynthesis@synthesis.ch http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis