Logic Machine Forum
Home plant background on Mosaic - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Home plant background on Mosaic (/showthread.php?tid=2607)



Home plant background on Mosaic - Domoticatorino - 22.04.2020

Hi,
I tried to find out other post in forum without success.

A customer of mine would like to use home plant as background.

I have created my own widget on which I use as background a svg file of home plant. I would like:

- to center the image in the widget.
- reduceĀ the dimensions of the icon (light bulbsĀ and other object).

How can I do that?

Thanks.


RE: Home plant background on Mosaic - Daniel - 22.04.2020

As a background you could use image and position it as you want. Only make sure it is first element on the widget.


RE: Home plant background on Mosaic - Domoticatorino - 22.04.2020

(22.04.2020, 16:07)Daniel. Wrote: As a background you could use image and position it as you want. Only make sure it is first element on the widget.

In the picture url ancor I use the path of the image: https://192.168.1.40/scada/resources/img/floor1.png?1587565089

The problem is that the image is not shown and when I click on it, system redirect to a new page with the image. So probably the ancor url I used is not correct.

Thanks.


RE: Home plant background on Mosaic - Daniel - 23.04.2020

Why don't you just add the image as custom?


RE: Home plant background on Mosaic - Domoticatorino - 23.04.2020

Hi Daniel,
what do you mean exactly? I did a custom widget on which I use image element.
Is there a different way? Thanks.


RE: Home plant background on Mosaic - Daniel - 23.04.2020

When selecting image you can use URL or select pre-defined icons. Additionally you can upload your own custom image.


RE: Home plant background on Mosaic - Domoticatorino - 23.04.2020

(23.04.2020, 08:42)Daniel. Wrote: When selecting image you can use URL or select pre-defined icons. Additionally you can upload your own custom image.

Ok. Obviously I upload the image in the scada "vis graphic" but I do not understant how to use it on Mosaic.


RE: Home plant background on Mosaic - Daniel - 23.04.2020

Obviously this is wrong Wink
Mosaic has nothing to do with the LM internal part, it is stand alone app.
   
   


RE: Home plant background on Mosaic - Domoticatorino - 23.04.2020

Stupid me!! Sorry Daniel.

I thought it was the just the icon. I did not test it. Sorry to bother you for this stupid question.