This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Daniel81
Hi,
When you upload an image, the path to the image for example will be:
october/uploads/public/546/4af/a74/5464afa7427e1985162511.jpg
but if you place that in a CSS url()
you end up with the following (after compiled):
url(/october/themes/YOUR_THEME/october/uploads/public/546/4af/a74/5464afa7427e1985162511.jpg)
Anyone know a way to get this working?
Daniel81
I suppose I could just use the absolute url:
http://localhost:8888/october/uploads/public/546/4af/a74/5464afa7427e1985162511.jpg
but ideally would just like to use the relative url if anyone has any ideas?
daftspunky
Use a relative path, like this:
../../uploads/public/546/4af/a74/5464afa7427e1985162511.jpg
1-4 of 4