Skip to content

Credential attribute for images/photos #779

Description

@cvarjao

Context

Issuing credentials with photo attribute(s)

Problem

How a holder/wallet app knows that an attribute is an image element and render the attribute as an image.

Solutions

  1. Adopt attribute value convention convention based on data scheme. Wallet apps can easily identify if a value starts with data:
    Note: This is a generic approach that could work for any type of rich content (Image, Document/File)
  2. Introduce an attribute name suffix (_img) convention (like _dateint).
    Note: Just the "_img" doesn't tell the type of image (e.g.: JPEG, PNG, etc)
  3. OCA bundle is required for that sort of formatting, and when OCA is not provided by the attribute value will be presented in a not so nice manner.

Notes

  • What is the user/holder experience expectation when/if an OCA bundle is NOT provided?

Reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions