You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2019/08/28 14:58:00 UTC
[jira] [Created] (AIRAVATA-3188) Image custom output display type
Marcus Christie created AIRAVATA-3188:
-----------------------------------------
Summary: Image custom output display type
Key: AIRAVATA-3188
URL: https://issues.apache.org/jira/browse/AIRAVATA-3188
Project: Airavata
Issue Type: Bug
Components: Django Portal
Reporter: Marcus Christie
Assignee: Marcus Christie
A viewer for output data providers that have display type of {{image}}. The output data providers should return a dictionary with a bytes array or file like object with bytes data with the key {{image}} and the mime type with the key {{mime-type}}. For example:
{code:json}
{
"image": <bytes array|file-like object>,
"mime-type": "image/png",
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)