I have an image whose url is ../path/to/image
, but the ../
doesn't work. The url for my webpage is http://localhost:8080/account.html
. I can't seem to find a solution online.
I believe the directory is relative to the webpage url. I've tried starting from file:///C:/
and it works, but I don't want to use that because my other clients will use the domain name, which in this case is localhost.
Is there a way to solve this without moving folders?