Neocities.org

mr pibbs site

mr-pibbs-site.neocities.org

119,042 views
47 followers
765 updates
0 tips
using src="/whatever/idc.png" seems to not work locally but it will work on an actual site..?
2 likes
mr-pibbs-site 2 years ago

as opposed to src="whatever/idc.png" or src="../whatever/idc.png"

1 like
arandomsite 2 years ago

its because when u do it on ur files, it goes to the exact root of ur computer. on neocities ur root is what u see on the dashboard

1 like
saint-images 2 years ago

Unless by "locally" you mean running your website on a local server, yeah this won't work because if you just open an html file it will look for the files relative to your pc's root directory. I run a copy of my website on localhost with Apache, so the "/..." paths work for me; you can try doing it as well

1 like
mr-pibbs-site 2 years ago

yea i started using a VSC extension called Live Server at the recommendation of someone on stackoverflow

Website Stats

Last updated 3 weeks ago
CreatedDec 10, 2021
Site Traffic Stats

Tags

videogames music blog things tabletop