Skip to content

upable to load image in vcard qrcode #121

@macmichael01

Description

@macmichael01

The make_vcard method has a parameter called photo_uri. After generating a qrcode and scanning it via an iphone, the photo does not appear on the contact card.

Sample code:

from segno import helpers
qrcode = helpers.make_vcard(displayname='No Photo', 
                             name=";No Photo",
                             org="No Photo",
                             memo="no photo",
                             email='[email protected]',
                             photo_uri="https://no-photo.com/no-photo.png",
                             )
qrcode.save('/Users/no-photo/Desktop/no-photo.svg', scale=5, data_dark="#7a1fa1", dark="#512da8")

How it looks on the iPhone:
IMG_7508

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions