This link might be useful for troubleshooting your issue: Placing image in Shiny titlePanel
Could you include a reprex or include more of your code? That would help us more clearly see what you've attempted, and to provide tips.
Edit: here's some additional info from the in-progress Shiny book https://mastering-shiny.org/action-graphics.html#images