Issue to show background picture

lachguer97 months ago

Hello all
I have one issue i use this path on VSCODE : backgroundImage: 'url("../src/resources/images/LogoCmpTR.png")',
i have add the picture on : traccar-web\src\resources\images folder.
on VSCODE localy is working fine the picture is showing but when i build and send files building on my vps and put the picture inside the folder : /opt/traccar/web/
the picture not sowing

can some one help please

Ashok Chandra7 months ago

You are doing wrong first import it

Like something import myImage 'path'; then use

backgroundImage: 'url(myImage)',

lachguer97 months ago

thank you