Welcome to Radarspotting. Please login or sign up.

May 03, 2026, 01:19:48 AM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

Displaying Pictures in Basestation

Started by gprich, December 02, 2015, 01:08:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gprich

Hi All,

Just returned to my SBS-1 after many years of non-use! I've set everything up and all seems to be working well :). I've installed AD-Lite which I gather from reading the forums replaces SBS-Populate - but there is no support for photos, I seem to remember that I used to have photos popping up of the various aircraft - is this still possible??? Also have Kinetic stopped supporting its products? I don't have a problem but all internet links to various sites seem broken and I am just wondering whats been happening since I've been away from the hobby?

Many Thanks in advance for any help or useful comments

Gareth.

Anmer

Welcome Gareth.

One can display photos in the Aircraft Details window.  I've attached an example.

Achieving this requires:

1. A revised Basestation.xsl and, possibly, Basestation.css file.  This formats the Aircraft Details window and most of the displayed data.

2. Access to an image file for the relevant aircraft.

Flight Display used to lookup and download the photos which were stored locally.  But the developer became concerned about breach of copyright and removed that option.

There's nothing to prevent one downloading and renaming photos manually.

Chris Taylor from TMRF provides support for the SBS-1/3 and Puck receivers,  Enhancements to the BaseStation software is another topic!

[Attachment deleted by Admin to save file space]
Here to Help.

IanH

Try http://www.kinetic.co.uk

Possibly you've been going to http://www.kinetic-avionics.co.uk/ which I did have bookmarked for Kinetic.

Fortunately that site was taken down  :-[ after it was hijacked.

gprich

Thanks both for the prompt replies, I will give it a go :)

gprich

Actually, Anmer could you give me some guidance as to how to achieve the modifications to the said files? ???

Gareth

Anmer

What do you want to modify?

If you want the Aircraft Details window to show photos, do you have them stored locally?
Here to Help.

gprich

Yes I think that's what I'll do if the option is no longer to auto download :-\

gprich

Hi Anmer,

So what mods to the files are needed if:

1. If I store photos locally on my HDD

2. Or is there a way of auto downloading them available?

Thanks

Gareth.

Anmer

The BaseStation.xsl file will need to be modified to display a photo that can be found locally or online.

I'll have to find some old xsl files (which may take a while) with suitable coding to show what you need to edit.
Here to Help.

gprich


Anmer

#10
I managed to find an archived xsl file that may be a useful starting point.

It's a long time since I was editing this file and my memory doesn't recall all the elements but some were "driven" by Flight Display to make the data available for the xsl file.  BaseStation doesn't make all the database fields available, such as Last Seen and a few others.  So I've edited the archive to only use current data.

I'm sure others may be able to improve on this example.  There was a time when I used to enjoy creating new versions but since Flight Display is no longer supported, many options are no longer available, such as automatically downloading and storing aircraft images.

This example assumes that aircraft photos are stored locally in a directory I\Kinetic\Aircraft Images and named using the registration with or without an "A" or "B" suffix.

The xsl and css files should display as shown.

BaseStation.xsl

<table>
<tr>
<td width="607">
<span class="entryheading">Links</span>
</td>
</tr>
<tr>
<td>
<div class="entrybox3">
<table width="600">
<tr>
<td width="200">
<a href="http://www.airframes.org/reg/{translate

(//regdata/registration,'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')}" target="new">
<span class="entrycaption2">Airframes: <xsl:apply-templates select="//regdata/registration"/></span></a>
</td>
<td width="200">
<xsl:variable name="Greg" select="substring-after(//regdata/registration,'G-')"/>
<a href="http://www.caa.co.uk/application.aspx?

categoryid=60&amp;pagetype=65&amp;applicationid=1&amp;mode=detailnosummary&amp;fullregmark={$Greg}"

target="new">
<span class="entrycaption">G-INFO: <xsl:apply-templates select="//regdata/registration"/></span></a>
</td>
<td width="200">
<a href="http://www.caa.co.uk/application.aspx?

catid=60&amp;pagetype=65&amp;appid=1&amp;mode=detail&amp;modes={//transmission/modes}&amp;dataindex=0"

target="new">
<span class="entrycaption">G-INFO: <xsl:apply-templates select="//transmission/modes"/></span></a>
</td>
<td width="200">
<xsl:variable name="Nreg" select="substring-after(//regdata/registration,'N')"/>
<a href="http://registry.faa.gov/aircraftinquiry/NNum_Results.aspx?NNumbertxt={$Nreg}" target="new">
<span class="entrycaption">FAA Registry: <xsl:apply-templates select="//regdata/registration"/></span></a>
</td>
</tr>
<tr>
<td width="200">
<a href="http://www.planespotters.net/search.php?q={//regdata/registration}" target="new">
<span class="entrycaption">Planespotters: <xsl:apply-templates select="//regdata/registration"/></span></a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>

</body>
<meta http-equiv="refresh" content="5"/>
</html>

</xsl:template>
</xsl:stylesheet>


BaseStation.css

html {
  background: #ffc;
  color:#000;
  }

.border {
border: solid 1px orange;
}

.entryheading {
  font-family: Arial; font-size: 80%;
}

.entrydata {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold; font-size: 70%; color: blue;
}

.entrydata2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 70%;
}

.entrydata3 {
  font-family: Arial, Helvetica, sans-serif;
   font-size: 70%; color: red;
}

.entrybox {
  border: 1px solid #fc6; background-color: #ffd;
}

.entrybox2 {
  table-layout: fixed;
  width; 30; 
  overflow: hidden; 
  border: 1px solid #fc6;
  background-color: #ffd; width: 200; height: 80;
  word-wrap: break-word;
}

.entrybox4 {
  table-layout: fixed;
  overflow: hidden; 
  border: 1px solid #fc6;
  background-color: #ffd; width: 400; height: 40;
  word-wrap: break-word;
}

.scrollArea {
width:200px;
height: 40px;
padding-left: 5px;
padding-right: 5px;
border-color: #fc6;
border-width: 1px;
border-style: solid;
float: left;
background-color: #ffd;
overflow: auto;
}

.entrybox3 {
  border: 1px solid #fc6;
  background-color: #ffd; width: 605;
}

.entrycaption {
  font-family: Arial; font-weight: bold;  font-size: 70%;
}

.entrycaption2 {
  font-family: Arial; font-weight: bold;  font-size: 70%; line-height: 0.5cm;
}

.ModeSdata {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 70%; color: red;

.Links {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold; font-size: 80%; color: blue;
}

[Attachment deleted by Admin to save file space]
Here to Help.

gprich

Thank You, I shall study and have a play :)