Suppose I have an image (image1.png) in site collection1 --> root site --> site assets.
I want to know what would be the relative path of this image in:-
site collection1\root site\sitepage
site collection1\sub site\sitepage
site collection2\root site\sitepage
For example: Suppose there is a masterpage from rootsite inherited by all the sites in the site collection or webapplication. And there is an image on the master page which is present in sitecollection1\rootsite1\site assets\image.png.
Then, how do you reference such a scenario?