Posts: 169
Threads: 58
Joined: Oct 2017
Reputation:
0
Hi all,
could you indicate to me how to know the directories names (and paths) of a HomeLYnk/SpaceLYnk machine ?
My objective to reach is to update an image in a plan, using JS, using standard user graphic library.
Secondary question : have you got a doc to use ftp mecanism (or other) to upload file (as graphical one...) ?
Thank's in advance and have a very good week.
Dominique
Posts: 169
Threads: 58
Joined: Oct 2017
Reputation:
0
Hi Erwin,
it works !..
I change "/scada/resources/img" to "/scada/resources/icons" to reach icons libray.
PS : I could have used Inspector in the webpage, sorry for taking time with this question.
Have a good monday,
Dominique
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
26.03.2018, 17:13
(This post was last modified: 26.03.2018, 17:13 by Erwin van der Zwart.)
Hi,
No problem, most scripts i share are already created for projects, and then it's a matter of copy/paste. This one was created to have a dynamic weather icon on a site.
BR,
Erwin
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
27.03.2018, 07:36
(This post was last modified: 27.03.2018, 07:43 by Erwin van der Zwart.)
Hi,
Yes also possible, this is just to show you can do whatever you like ..
With this method you can also change background images dynamic, by using the plan ID #layout-x, something that you won't be able to do normally.
On the site where we used this we had a image URL from the service that we used to have dynamic images from the internet, that you won't be able to do from object level.
There are so many ways to Rome (:
BR,
Erwin