https://discord.gg/botpress logo
I use this myself to set the Object and see the im...
# 🌎general
b
I use this myself to set the Object and see the image for the cards:
Copy code
return {
    title: wine['Title'],
    subtitle: wine['Flavor Profile Title'] + ' | €' + formattedPrice,
    image: wine['Image'] + '?optimize=medium&fit=bounds&height=230&width=230',
    actions: [
      {
        label: 'More info',
        value: wine['Link'],
        action: 'url'
      },
      {
        label: '+ Bottle(1)',
        value: wine['Link'],
        action: 'url'
      }
    ]
    // ... other properties of the wine object
  }
3 Views