Skip to main content
Tejas Dandekar
Inspiring
March 28, 2022
Question

rh2020 - tile images not showing up when relative path is provided

  • March 28, 2022
  • 2 replies
  • 216 views

I have a frameless output with 10 tiles and each tile having an image.

I have an assets > images folder that holds the 10 tile images png files.

I am managing the tiles from the ToC. When I refer to the tile image from the relative folder for example /assets/images/image1.png the image shows up correctly in a local output. However, when I move the output to the web server the tile image doesn't show up.

When I refer to the tile image with an absolute path ex/- https://server/assets/images/image1.png then the image shows up when I publish the output to the web server.

Any idea why would the relative path now work from the server and work from a local output?

This topic has been closed for replies.

2 replies

Jeff_Coatsworth
Community Expert
Community Expert
March 29, 2022

Not in the same location, but in the same relative position to each other when local & on the webserver.

Jeff_Coatsworth
Community Expert
Community Expert
March 28, 2022

Is the same structure between the (topic with the link location) and the (image location) being maintained? That would be the only reason I could see for it to be disrupted.

Tejas Dandekar
Inspiring
March 29, 2022

I think I did not get your question.

Do you mean the topic/html file and the image file must be at the same location?
We have something like this:

 

  • <Main folder>
    • <Chapter 1>
      • section1.html
      • section2.html
    • <Chapter 2>
      • section3.html
      • section4.html
    • <Assets>
      • <Images>
        • image1.png
        • image2.png