Change the logo image Modern design

zvizdo 4 years ago

I changed the logo.svg image in the modern design but nothing is changed, just traccar logo is Disappeared but my logo is not showing.
Does someone know what is the issue ?

Anton Tananaev 4 years ago

What did you change exactly?

zvizdo 4 years ago

I replaced logo.svg with my logo.svg located in /opt/traccar/web/modern/

Do I need to change something else?

Anton Tananaev 4 years ago

You need to make sure your SVG has a group called img. That's what we use.

zvizdo 4 years ago

And group called "img" I can add by opening logo.svg image with notepad ++ add just insert it ?

Anton Tananaev 4 years ago

Yes, it's possible. Make sure it's a valid SVG.

zvizdo 4 years ago

Ok, thank you!

You k 3 years ago

Hello zvizdo,

Did you manage to get it work ?

zvizdo 3 years ago

yes it is worked my friend

You k 3 years ago

Hello,

I tried adding a valid svg image with group called img but it does not appear in the loging page.

Anton Tananaev 3 years ago

Starting from version 5.3 you don't need any groups. Any valid SVG should work.

You k 3 years ago

I think from version 5.3 the configuration is different, the logo is no longer an svg image, i have already added a new svg image but nothing has changed

Anton Tananaev 3 years ago

It is still an SVG.

zvizdo 3 years ago

But where is the sve image located?

You k 3 years ago

There is an svg logo located in /modern/static/media i have already changed it but nothing has changed in the loging page