attachment_dependency <- function(){
htmltools::htmlDependency(
name="attachment",
version="1",
src=c(file=src_filepthImg()),
# src=c(href="https://ntpuecon.github.io/econApp/assets/img"),
attachment="",
all_files = T
)}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.