Image display with URL on Perspective View

I am trying to display image on the ignition perspective view. I have stored images on some secured web portal such as dropbox folder, onedrive, etc. Is there any way I can load the image by passing the path of dropbox? How to pass the login credentials on such case in url?

The short answer is no, probably not.

The longer answer is that you could maybe achieve something to script the login/authentication process, but then you're in a script context running on the gateway, not the local browser where the end user is. So even if you authenticate and fetch the image data, you then have to "proxy" it out to the end user via the gateway instead, which at best means you've defeated the performance purpose of the external image host and at worst means you've opened a security hole that defeats the purpose of the external image host.

3 Likes

Thank you for the response. So is there a way then to load the images from local folder to the perspective. I want to give an operator an access to update an image that will be displayed. In other words, I want to add/change image without going to the ignition designer.

First party, via the Webdev module:

You could use a DB, a folder on disk, or anything else you can connect to from Ignition's Jython to store your images.

Eventually, we plan to offer some first party functionality for this use case, but not anytime soon.

Third party, Phil's Blob Server module is free and can accomplish the same basic goal, with the restriction of only working with a DB to store files.

2 Likes