Trying to include a logo in the sidebar on my dashboard. Sidebar:
sidebar <- dashboardSidebar(
sidebarMenu(
menuItem("Dashboard", tabName = "dashboard", icon = icon("dashboard")),
menuItem("Visit-us", icon = icon("send", lib='glyphicon'),
href = "http://www.my-site.com")
)
)
I've tried adding menuitem(img(src='myImage.png') and putting the image in a subdir called 'www' as I saw in some other forums, but it just puts a small icon with a ? in it indicating it isn't finding the file. I've tried putting the file in the source directory, adding the path, etc. to no avail