ajkl
ajkl

Reputation: 1036

Render images in datatables in shiny

Is there a way to render images in a datatable in shiny ?

If I try adding the tag

paste(<img src="http://test.com/img/', x, '.jpg" height=52></img>', sep='')

as part of the column (in which i want to show the image) it just spits out the html tag and not the image.

Upvotes: 3

Views: 636

Answers (1)

ajkl
ajkl

Reputation: 1036

As @bunk mentioned, escape=FALSE works for embedding the images in a datatable.

Upvotes: 3

Related Questions