enesser / vCards-js

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

create vcard file with more than 4000 contacts with image #37

Open NikunjGadhiya07 opened 5 years ago

NikunjGadhiya07 commented 5 years ago

how to create .vcf file with more than 4000 contacts with images, I already created .vcf file with 4000 contacts using vcards-js but, the image does not display in contact profile in mobile, image display less than 10 contacts in .vcf file. it does not work more than 10 contacts. I want images in contact profile in .vcf file with more than 4000 contacts.

enesser commented 5 years ago

Have you tried multiple mail clients? Which mail client is it not working in?

This library itself has no limit.

Thanks!

Mohit8982 commented 4 years ago

How can we create multiple contacts?

cheevu-RS commented 4 years ago

@Mohit8982 just add a '\n'to the formatted string and add the next Vcard entry. vCardString += '\n' + vCard.getFormattedString(); return the vCardString finally as your .vcf file