Author Topic: Saratoga Live Data Missing Current Conditions Icon  (Read 535 times)

0 Members and 1 Guest are viewing this topic.

Offline WxNut

  • www.weathervaneweather.com
  • Member
  • *
  • Posts: 16
    • Weathervane Weather
Saratoga Live Data Missing Current Conditions Icon
« on: August 02, 2018, 10:28:29 AM »
I am just starting to switch over my legacy weather site to the Saratoga templates.

I have the templates loaded here:   www.test.weathervaneweather.com/wxindex.php

In the live data I am missing the current conditions icon that is  located directly above the thermometer image.

Did I miss something?

Image attached.

 [ You are not allowed to view attachments ]

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 319
    • LexMAWeather
Re: Saratoga Live Data Missing Current Conditions Icon
« Reply #1 on: August 02, 2018, 11:32:40 AM »
Looking at the source, the <img> tag references "./ajax-images/bkn.jpg". Do you have that directory and file on the server? (browser says no...).

 [ You are not allowed to view attachments ]


Offline WxNut

  • www.weathervaneweather.com
  • Member
  • *
  • Posts: 16
    • Weathervane Weather
Re: Saratoga Live Data Missing Current Conditions Icon
« Reply #2 on: August 02, 2018, 12:08:24 PM »
If you're referring to the bkn.jpg , then yes I can see it there.   Keep in mind website code is pretty new to me so I may not be understanding your question.


Offline CNYWeather

  • Forecaster
  • *****
  • Posts: 2161
  • Yeah, I'm hugging my traffic light.
    • http://www.cnyweather.com
Re: Saratoga Live Data Missing Current Conditions Icon
« Reply #3 on: August 02, 2018, 12:11:24 PM »
You should have a web folder called ajax-images

Looks like you may not have uploaded them as part of the template package possibly.
Looking for that image give a not found.

http://www.test.weathervaneweather.com/ajax-images/bkn.jpg
Tony




Offline Jasiu

  • Forecaster
  • *****
  • Posts: 319
    • LexMAWeather
Re: Saratoga Live Data Missing Current Conditions Icon
« Reply #4 on: August 02, 2018, 12:48:09 PM »

Offline WxNut

  • www.weathervaneweather.com
  • Member
  • *
  • Posts: 16
    • Weathervane Weather
Re: Saratoga Live Data Missing Current Conditions Icon
« Reply #5 on: August 02, 2018, 01:47:23 PM »
Okay I see they are uploaded but apparently I extracted them to the wrong folder.   The instruction #5 is not clear on where they should be extracted before uploading.  I extracted them to the root so they ended up in a forecast folder   

Where did I go wrong here?

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 319
    • LexMAWeather
Re: Saratoga Live Data Missing Current Conditions Icon
« Reply #6 on: August 02, 2018, 02:14:09 PM »
Been so long since I did the initial setup and I've changed so much since them... but I found it in the Settings instructions...

https://saratoga-weather.org/wxtemplates/Settings-config-USA.php


Quote
$SITE['imagesDir'] = './ajax-images/';
    This specifies the relative FILE location for the images used by the ajax-dashboard, ajax-gizmo and several other scripts in the package. It contains the current conditions icons as well.

(emphasis mine).

So copy the images that are in forecast/images to ajax-images and you should be set.

Offline WxNut

  • www.weathervaneweather.com
  • Member
  • *
  • Posts: 16
    • Weathervane Weather
Re: Saratoga Live Data Missing Current Conditions Icon
« Reply #7 on: August 02, 2018, 03:27:59 PM »
That took care of it!

Thank you for you help!

Tim

 

anything