enesser / vCards-js

Create vCards to import contacts into Outlook, iOS, Mac OS, and Android devices from your website or application.
MIT License
419 stars 154 forks source link

attachFromUrl not working in Mac contacts? #20

Closed Bramzor closed 8 years ago

Bramzor commented 8 years ago

Class working create except for the attachFormUrl function. Added this with vCard.photo.attachFromUrl('https://avatars2.githubusercontent.com/u/5659221?v=3&s=460', 'JPEG'); but is not shown in Contacts on Mac. Is this a known issue?

enesser commented 8 years ago

I have had problems with the attachFromUrl function and Mac. I'm not sure it allows linking to images. I'll do some further testing and potentially list it as a known issue.

What does work -- and what I just recently tested -- is embedFromFile. Hopefully you can use that instead.