Images on static site


I am having some trouble getting my background image to load when my site is deployed. My publish directory is set to /views where my index.html is. Inside /views I have a directory ‘resources’ where I store an image for my background. I load and style the image in index.html. It looks and works fine on my local environment but when I deploy it with Render it is not working. Can anyone help me?

Hi there,

You should be able to reference your images by using ./resources/image_name.jpeg (or whatever image type it is) in your HTML file.


Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.