Image on Hero card's Button does not render in emulator or web chat and even skype
Hi, Image on Hero card's Button does not render in emulator or web chat and even skype also. how do i display the image on my button.
string ImagePath = "file:\" + HttpContext.Current.Request.MapPath("\Images\Like-icon_resize.png");
var heroCard = new HeroCard
{
Text = response,
//Images = new List
};
return heroCard.ToAttachment();
even If I set image propety of button like below, then also image does not render.
Buttons = new List
@danmarshall are image urls required to specify a http header for an image content type?
"Images on buttons" is conceptually part of the SDK but I haven't seen it implemented in any channel. @tomlm will this continue to be part of the SDK?
image url works for hero card but why doesn't work for CardAction button.
DanMar is correct. images on buttons is going to be deprecated because none of our channels support it.
Is it still the issue? I am facing same issue for ActionTypes.Show Image not showing image.
Hi @dnyati
This is a closed issue. Please open a new issue, or ask a question on Stack Overflow
I don't think any channels support ActionTypes.ShowImage