image not loading in nave_page

Hi all,
I've struggling to add a logo/image on the top of my app (within nave_page, on the right)
According of what I read in many reference, shiny address the image folder as www directory located at the same level of my app.R

MyShinyApp/
├── app.R
└── www/
└── img.png

I have tried many ways to display the logo on the page ( here is an example of one of the method I use)

ui <- page_navbar(
title = div("My app",
img(src = "img.png", height = "auto", width = "auto",
style = "position: absolute;
top: 1px;
right: 5%;")))

none of the method i tried works in my laptop or in my the one i use for work. Everytime the ghost image returns instead of the logo.

I would appreciate any comment or suggestion... thank you so much in advance