GNOME Bugzilla – Bug 346544
Expand EContactPhoto to support remote images
Last modified: 2013-09-14 16:49:39 UTC
EContactPhoto currently only allows the user of EContact to get and set inline photos, which are base-64 encoded. The vCard specification allows PHOTO fields to refer to external images with a URL, but EContactPhoto doesn't allow this. I have a patch that changes the EContactPhoto struct to this: typedef struct { EContactPhotoType type; union { struct { char *mime_type; int length; guchar *data; } inlined; char *uri; } data; } EContactPhoto; (it was so much nicer when the union was unnamed, but that is a gcc extension) Would this patch be considered for inclusion in EDS 1.8?
*** This bug has been marked as a duplicate of 313533 ***