Display local image file in Perspective

As @pturmel said, it's all about what Perspective (ie: browser) has access to. If you want an image file to be displayed in Perspective, there a re a few options, but these are the two easiest:

  1. From Tools > Image Management, you could upload a file to the internal database, and then in the image component supply a source of '/system/images/path_to_image/filename.extension". This solution is not the best if you expect to need many photos, as it will slow down the internal database.
  2. Place photos you will need in
    C:\Program Files\Inductive Automation\Ignition\webserver\webapps\main, and then refer to them by setting Image.props.source to "path_to_image/filename.extension". This method allow for many photos without adverse effects on the internal database. Important note: This approach is not officially supported. It works only because of how the internal server settings of the Gateway work. At any point in the future, this may cease working and would be considered neither breaking behavior nor a bug. Use this route at your own risk.
6 Likes