I was using some images with the Image component (I've also enabled responsive images in config), but then when I use those same images as backgrounds (in external css file) in another page, they dont get loaded. Only the ones with Image component show up.
This issue doesn't happen locally but only when hosted. I tried vercel and sevalla and also tried clearing cache.
I noticed even the image urls differ:
With Image component, the default src: /_astro/walls-ceilings-img.DSxTo-jP_ZBPOhg.webp
As a css bg url: /_astro/walls-ceilings-img.DSxTo-jP.webp
https://ariva-pm-9u153.sevalla.page/construction-services this is where the images work properly since I am using Image component
then in https://ariva-pm-9u153.sevalla.page/ if you scroll down to see the construction services section, you will see all cards don't have the background images which are actually pointing to the same assets that I used in the /construction-services page