Enterprise: Demo App: Hierarchy example images aren't being served on IDS iframes and latest demo

Created on 28 Mar 2019  路  4Comments  路  Source: infor-design/enterprise

Describe the bug
We are seeing broken images in the EP demo app only when on latest.

To Reproduce
Steps to reproduce the behavior:

IDS Website

  1. Go to these links and see the images not loading:

Demo App:

  1. Go to latest...hierarchy/example-index

    • See the images are not being served

  2. But go to master and 4.17.0 and see they are served there:

Expected behavior
The images should be served on all the things and places.

Screenshots
Screen Shot 2019-03-28 at 5 43 19 PM

Platform

  • All

Additional context
n/a

[3] type

Most helpful comment

The img src needs to be an absolute path, not relative:

image

Moving to Enterprise to fix there.

All 4 comments

The img src needs to be an absolute path, not relative:

image

Moving to Enterprise to fix there.

In the demo app, images need to be:
<img src = "{{basepath}}images/signin-logo.png" alt="Name"/>
with the basepath prefixed.

In all of the hierarchy examples, the image src is getting written out inside of a template, so global basepath doesn鈥檛 exist...
```{{={{{ }}}=}}