Alexa デバイスまたは Alexa コンソール ( https://developer.amazon.com/alexa/console/ask/displays#/templates )を使用しているかどうかにかかわらず、特定の画像のみを表示できます。
たとえば、これは機能します:
{
"type": "APL",
"version": "1.8",
"license": "",
"import": [
{
"name": "alexa-layouts",
"version": "1.4.0"
}
],
"mainTemplate": {
"parameters": [
"payload"
],
"items": [
{
"type": "AlexaImage",
"imageSource": "https://d2o906d8ln7ui1.cloudfront.net/images/MollyforBT7.png"
}
]
}
}
しかし、これは機能しません:
{
"type": "APL",
"version": "1.8",
"license": "",
"import": [
{
"name": "alexa-layouts",
"version": "1.4.0"
}
],
"mainTemplate": {
"parameters": [
"payload"
],
"items": [
{
"type": "AlexaImage",
"imageSource": "https://www.solopianoradio.com/apps/alexa/wspr_logo_512.png"
}
]
}
}
タイプ (「AlexaDetail」、「Image」、「AlexaImage」)、高さ、幅、スケール、画像の種類 (png と jpg) などのオプションを変更しようとしましたが、この画像と他の多くの画像は単に表示されません。