-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Credential attribute for images/photos #779
Comments
Is the basic idea that we have a convention for attribute naming, similar to the “_dateint”, for images, and use a data URL to get the rest of the information about the format? Something like “_img”? Any other details to convey in the RFC? |
For AnonCreds there's the credential preview mime type that can be used, although I'm a fan of looking at an approach to do it within the credential, as that means you're not dependant on didcomm protocol data to have this information |
FYI -- the I think this fits best as an Aries RFC, with implications for the OCA Bundle approach as well. However, we have to agree on the best approach from @cvarjao 's ideas (above), or any other approach.
To be discussed on the Aries Working Group call on 2023.03.29. |
Discussed at the Aries Working Group call on 2023.03.29. Agreement to proceed with an RFC that proposes to use approach 1 (use Action is for @swcurran to propose an RFC that outlines the approach. An interesting issue is raised in combining the use of a |
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
data:
Note: This is a generic approach that could work for any type of rich content (Image, Document/File)
_img
) convention (like_dateint
).Note: Just the "_img" doesn't tell the type of image (e.g.: JPEG, PNG, etc)
Notes
Reference
The text was updated successfully, but these errors were encountered: