{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/rmarkdown/issues/316","labels_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/316/comments","events_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/316/events","html_url":"https://github.com/rstudio/rmarkdown/issues/316","id":49773414,"number":316,"title":"link to image in renderDataTables","user":{"login":"vnijs","id":2998956,"avatar_url":"https://avatars.githubusercontent.com/u/2998956?v=3","gravatar_id":"","url":"https://api.github.com/users/vnijs","html_url":"https://github.com/vnijs","followers_url":"https://api.github.com/users/vnijs/followers","following_url":"https://api.github.com/users/vnijs/following{/other_user}","gists_url":"https://api.github.com/users/vnijs/gists{/gist_id}","starred_url":"https://api.github.com/users/vnijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnijs/subscriptions","organizations_url":"https://api.github.com/users/vnijs/orgs","repos_url":"https://api.github.com/users/vnijs/repos","events_url":"https://api.github.com/users/vnijs/events{/privacy}","received_events_url":"https://api.github.com/users/vnijs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-11-22T05:11:25Z","updated_at":"2015-06-08T18:08:03Z","closed_at":null,"body":"I created an Rmd document to show student information and pictures. Using kable to generate the markdown table the images that are linked in the table cells are found.\r\n\r\nNow I created a dynamic rmarkdown document with an actionbutton to refresh the table of students. Works great, except the path to the images is not found. I am using renderDataTables because there doesn't seem to be an option to 'renderHTML' and htmlOutput also doesn't seem to be available.\r\n\r\nSuggestions?"},"comment":{"url":"https://api.github.com/repos/rstudio/rmarkdown/issues/comments/110094385","html_url":"https://github.com/rstudio/rmarkdown/issues/316#issuecomment-110094385","issue_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/316","id":110094385,"user":{"login":"jmcphers","id":470418,"avatar_url":"https://avatars.githubusercontent.com/u/470418?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcphers","html_url":"https://github.com/jmcphers","followers_url":"https://api.github.com/users/jmcphers/followers","following_url":"https://api.github.com/users/jmcphers/following{/other_user}","gists_url":"https://api.github.com/users/jmcphers/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcphers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcphers/subscriptions","organizations_url":"https://api.github.com/users/jmcphers/orgs","repos_url":"https://api.github.com/users/jmcphers/repos","events_url":"https://api.github.com/users/jmcphers/events{/privacy}","received_events_url":"https://api.github.com/users/jmcphers/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T18:08:03Z","updated_at":"2015-06-08T18:08:03Z","body":"This example works for me:\r\n\r\n\r\n    ---\r\n    title: \"Untitled\"\r\n    runtime: shiny\r\n    output: html_document\r\n    ---\r\n    \r\n    ```{r}\r\n    info <- list(id = \"john\")\r\n    images <- paste0(\"student-info/\",info$id,\".png\")\r\n    knitr::asis_output(paste0(\"<img src='\",images,\"' title='\",info$pref_name,\" \", info$last_name,\"' style='height:60px'>\"))\r\n    ```\r\n\r\nSo--perhaps it's specific to DT tables. Could you post a larger example that uses those? "}}