{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/contacts/issues/1072","labels_url":"https://api.github.com/repos/owncloud/contacts/issues/1072/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/contacts/issues/1072/comments","events_url":"https://api.github.com/repos/owncloud/contacts/issues/1072/events","html_url":"https://github.com/owncloud/contacts/issues/1072","id":112054219,"number":1072,"title":"contact pictures upload to owncloud fails","user":{"login":"Phil1988","id":6054234,"avatar_url":"https://avatars.githubusercontent.com/u/6054234?v=3","gravatar_id":"","url":"https://api.github.com/users/Phil1988","html_url":"https://github.com/Phil1988","followers_url":"https://api.github.com/users/Phil1988/followers","following_url":"https://api.github.com/users/Phil1988/following{/other_user}","gists_url":"https://api.github.com/users/Phil1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Phil1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phil1988/subscriptions","organizations_url":"https://api.github.com/users/Phil1988/orgs","repos_url":"https://api.github.com/users/Phil1988/repos","events_url":"https://api.github.com/users/Phil1988/events{/privacy}","received_events_url":"https://api.github.com/users/Phil1988/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":41,"created_at":"2015-10-19T00:54:01Z","updated_at":"2015-10-29T08:07:24Z","closed_at":null,"body":"Maybe I did something wrong or can't find the right solution for this but I have a problem on syncing my android phones with owncloud.\r\n\r\nI can create and edit contacts on my phones and sync with owncloud.\r\nIf one contact has a picture and I sync it with OC, then I see just a white area on the webIF where normaly an image with the first letter of this contact ist (or the picture of this contact should be then).\r\n\r\nIf I sync this contact to another phone (that doesnt have this contact) it also doesn't get the contacts picture.\r\n\r\nBut if I edit this contact on the webIF and save a picture for this contact, it does send this picture correctly to my phones.\r\n\r\n(another weird thing is, that a created contact on the owncloud webIF is send to my phones as \";Name;;;\" without the quotations)\r\n\r\nI am using OwnCloud 8.1.3 on a Raspberry Pi 2 with latest raspbian jessie, PHP 5.6.13, MySQL 5.5.44, Apache 2.4.10 (Raspbian).\r\n\r\nI use DAVdroid 0.8.4.1 on my Android phones.\r\n\r\nI just found this: \r\nhttps://github.com/owncloud/contacts/pull/1041\r\nand did the changes mentioned here:\r\nhttps://github.com/gvde/contacts/commit/874bddb953394a4bdef74473f424cbc128e087f3\r\nwithout any success.\r\n\r\nI hope you know this issue and can help me out (with the image sync problem and the ;Name;;; problem).\r\n\r\nThanks a lot!"},"comment":{"url":"https://api.github.com/repos/owncloud/contacts/issues/comments/152107887","html_url":"https://github.com/owncloud/contacts/issues/1072#issuecomment-152107887","issue_url":"https://api.github.com/repos/owncloud/contacts/issues/1072","id":152107887,"user":{"login":"gvde","id":12151414,"avatar_url":"https://avatars.githubusercontent.com/u/12151414?v=3","gravatar_id":"","url":"https://api.github.com/users/gvde","html_url":"https://github.com/gvde","followers_url":"https://api.github.com/users/gvde/followers","following_url":"https://api.github.com/users/gvde/following{/other_user}","gists_url":"https://api.github.com/users/gvde/gists{/gist_id}","starred_url":"https://api.github.com/users/gvde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvde/subscriptions","organizations_url":"https://api.github.com/users/gvde/orgs","repos_url":"https://api.github.com/users/gvde/repos","events_url":"https://api.github.com/users/gvde/events{/privacy}","received_events_url":"https://api.github.com/users/gvde/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T08:07:23Z","updated_at":"2015-10-29T08:07:23Z","body":"@h-2 the broken ones are actually 4.0 cards which have been broken inadvertently.\r\n\r\nYou can fix the broken PHOTO properties with a simple database update. But it depends on which database you use. As it is already 3.0 now, it's probably easiest to replace the string ':dataimage/jpegbase64' with ';ENCODING=b;TYPE=jpeg:'. After that the PHOTO should be O.K. again.\r\n\r\nOf course, you should apply those patches to make sure it doesn't happen in the future."}}