Issue deploying a R markdown shiny with an image to


I made an R markdown shiny which runs normally on my computer but once I deploy it, I encountered the error message: paths should be to files within the project directory.
I tried putting my .png image to the same folder as my Rmd file folder and included the image when deploying it. I also tried setting image directory to the Rmd file directory. Please help. Thank you.

Could you include a directory listing of your project, and the line that references the image in your Rmd?
If you are comfortable sharing it, a link to your application would also be helpful.