<div dir="ltr">Hi, I've tried different snippets to get the the photo embedded on the vcard object but It doesn't seem to be working in any ways.<div><br></div><div>1 </div><div><div><br></div><div>photo_fh=open('filepng','rb')</div><div>card.add('photo')</div><div>card.photo.value = photo_fh.read()</div><div>card.photo.type_param = "PNG"</div></div><div><br></div><div>2</div><div><br></div><div><div><br></div><div>photo_url = "<a href="http://example.com/img.png">http://example.com/img.png</a>"</div><div>f = urllib.urlopen(photo_url)</div><div>data = f.read()</div><div>f.close()</div><div><br></div><div><br></div><div><br></div><div>vcard1.add('photo')</div><div>#vcard1.photo.type_param = "PNG"</div><div>#vcard1.photo.encoding_param="base64"</div><div>#vcard1.photo.value= base64.encodestring(data)</div><div>vcard1.photo.value=photo_url</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>But none has worked just yet, </div><div><br></div><div>any suggestions?</div></div>