Add photo to route description

Started by plu-irin, October 03, 2020, 18:16:28

0 Members and 1 Guest are viewing this topic.

plu-irin

Hi,

I wonder if it is possible to add photos to the description of a route (not attached to a point, just a photo in the description). Looking at the rohter routes I bought in the Locus-Store in principle it should be possible. However, I couldn't find something about this in the manual. Is there a way to do this?
  •  

Menion

It's quite a simple method. Description for points/tracks may be full-featured HTML code, so images attached to Rother tracks are currently only linked ("<img src="">) to web images, nothing more.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

0709

#2
Hi Menion.

The linked picture in gpx track description is not displayed in Locus.
File: BOM_navwpt.zip
Locus Pro Classic 3.70.5
  •  

plu-irin

Thank you both,

I added some simple html to the description directly inside Locus. In principle the content renders o.k. in the detail information of the track. However, in the track folder the html code is visible (see screenshots). Moreover, the linked image is not displayed.

In the (exported) gpx the part looks like this:

<!-- desc_user:start -->
<b>Bernrieder Panoramaweg</b><br>
<img scr="https://www.w3schools.com/images/lamp.jpg" width="100" height="100"><br> Rundwanderweg mit schönen Aussichtpunkten...
<!-- desc_user:end -->


What am I doing wrong? Btw. in which directory locus is looking for the linked image if I just use <img scr="test.jpg">?   
  •  

john_percy

Try img src not Img scr


Sent from my moto g(6) plus using Tapatalk

Voluntary and Velocity themes - https://voluntary.nichesite.org
  •  

plu-irin

#5
Quote from: john_percyTry img src not Img scr

A very good remark - that solved all issues. Some time ago I was in a training in which all participants got the following advice: ,,embarrass yourself daily". Mission accomplished!

Btw. if no absolute path is given the file has to be in /Locus/data/import (or relative to this.)

I think it would be worth to add the html capabilities in the manual (maybe in the section "Save Route" on this page).
  •  

Menion

Thanks Willy, will be fixed in next version.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •