Author Topic: Problem with .gpx files  (Read 375 times)

Offline mikejd

  • Posts: 251
Problem with .gpx files
« on: November 03, 2022, 01:39:03 PM »
I am trying to add .gpx files to a page link. I have uploaded the files through the Media link in Admin and they are visible. I try to add a link to a page, 'Browse server', go to the folder but no files are visible.

Offline hgs

  • Betatester
  • **
  • Posts: 1627
    • EFG MG
Re: Problem with .gpx files
« Reply #1 on: November 03, 2022, 01:58:03 PM »
What is the result supposed to be?

Isn't it easier to save the final result as an "image" and then embed it on the page?
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline mikejd

  • Posts: 251
Re: Problem with .gpx files
« Reply #2 on: November 03, 2022, 02:30:39 PM »
I am adding a page to the website which is about paths and tracks. I would like to add links to download a .gpx file for each track. I can upload the files to the server but then can't see the files in the editor to add to the link.

Offline mikejd

  • Posts: 251
Re: Problem with .gpx files
« Reply #3 on: November 03, 2022, 03:17:32 PM »
I have now added the link working in the source code. The file is recognised but it doesn't just download it, it opens it in a text editor. How do I change this to 'download and save'?

Offline mikejd

  • Posts: 251
Re: Problem with .gpx files (solved)
« Reply #4 on: November 03, 2022, 03:49:15 PM »
Problem solved!!
The link will have to be edited manually in source. Within the <a> link, after the href add 'download' attribute (no apostrophes). The file will then be downloaded to the default folder.

 

postern-length