[Docs] Visual Output


#1

In this section, you will learn about the different ways to add visual output to your voice application.


This is a companion discussion topic for the original entry at https://www.jovo.tech/docs/output/visual-output

#2

this.showImageCard(‘Card Title’, ’ Card Content’, { smallImageUrl: ‘https://via.placeholder.com/720x480’, largeImageUrl: ‘https://via.placeholder.com/1200x800’, }) .tell(‘Hello World!’);

this code doesn’t work,as smallImageUrl is going inside one more smallImageUrl


#3

I confirm this code is not working. Has anyone found a solution to this?


#4

On which platform does it not work? Could you post the error you get please?


#5

Oh sorry, I recently changed the docs after reading your post and forgot to reply :smiley:

This is the correct usage:

this.$alexaSkill.showStandardCard('Card Title', ' Card Content', {
        smallImageUrl: 'https://via.placeholder.com/720x480',
        largeImageUrl: 'https://via.placeholder.com/1200x800',
    })
    .tell('Hello World!');

#6

Can I use showIMageCard() AND this.followUpState()?
@jan


#7

Yes, that shouldn’t be a problem at all