so this is a weird one I have not found any answer to. its something ive been tackling to find for a few week now, so feel now I should now ask to see if anyone may know what could be wrong
I have a front page image auto scroll. its a div
using with background-image
<div class="featured-slide" style="background-image:url('{{ site.url }}assets/images/{{ page.image }}');">
/// things like title etc. nothing too special
</div>
and the {{ page.image }}
for the page itself would be image: image.png
simple stuff. but oddly. the images are not loading at all, but what’s weirder is that there are no errors in the console. only error messages cropped up if I do have something wrong typed. if I also try loading it directly in with no {{ page.image }}
, it also doesnt pop up. again, very odd
ive also set up the front page with separate front feature
pages, each having a link & the image to them. just to see if I could catch something. again, nothing popping up in console
---
layout: layout though not needed
title: Title
image: image.png
link: link/to/page
subtitle: about
date: 2021-05-30
---
its weird, because ive only started to run into this. I even changed it to an <img>
, so to make sure it does load an image, which happily does, but annoyingly doesnt help why its still not loading the other way, the way id prefer
ive tried this in other things prior & don’t remember running into a problem, or maybe it didn’t crop up them at that point. but its very weird & can’t see as to why its being like this
ill keep trying. but its something im not figuring out & has delayed getting it finished, since everythings now done, except this weird problem
thanks
x