On ios/safari Path to image gets broken after returning to the page with iron router


#1

Hi,
On a page i have a few images and they are displayed as expected.
Then using iron router i navigate to a different page and return but the images path is broken.

//at first screen click (images are displayed OK src="images/image"
On click I use Router.go(’/next’)
then Router.go(’/first’)
images are not displayed.
What should I do?
Thanks.


#2

you specify a relative src path for your images, so the URL/PATH of your browser is being used to resolve it. Try using an absolute path src=/images/image