text_result <- function(result){
baselined = result$get_value('baselined', NULL)
validate(
need(!is.null(baselined), message = 'Not baselined')
)
# shiny:::reactiveStop('This is an error message', c("validation"))
image(baselined$get_data()[1,,,1])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.