Skip to main content
Tejas Dandekar
Inspiring
Mar 28, 2022 4:35 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

3 replies

Jeff_Coatsworth
Community Expert
Community Expert
Mar 29, 2022 12:07 PM UTC

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

Translate
Jeff_Coatsworth
Community Expert
Community Expert
Mar 28, 2022 5:18 PM UTC

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.

Translate
Tejas Dandekar
Inspiring
Mar 29, 2022 4:07 AM UTC

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

 

Translate