Author Topic: Saratoga USA template -- wxindex/index.php fix for missing IR Satellite image  (Read 1924 times)

saratogaWX

  • Strong Breeze
  • ***
  • Posts: 156
  • Weather website programming enthusiast
    • Saratoga-Weather.org
  • Station Details: Davis VP1 +, iMAC 21, OSX 10.6.8
WeatherUnderground is doing some major changes to their website, and is no longer providing the IR Satellite image used in the right-hand image on the wxindex/index.php page.  You can substitute the Visible Satellite image by changing

Code: [Select]
    <img src="http://icons.wunderground.com/data/640x480/<?php echo $SITE['WUregion']; ?>_ir_anim.gif" alt="Regional Infrared Satellite" 
      width="320" height="240" style="margin: 0px; padding: 0px; border: none" />
to
Code: [Select]
    <img src="http://icons.wunderground.com/data/640x480/<?php echo $SITE['WUregion']; ?>_vi_anim.gif" alt="Regional Visible Satellite" 
      width="320" height="240" style="margin: 0px; padding: 0px; border: none" />
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub, WeatherSnoop, WeatherCat
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

nowait

  • Strong Breeze
  • ***
  • Posts: 133
  • Station Details: Davis Vantage Pro 2 Wireless (Heated) on a Snow Leopard Mac Mini
Thanks Ken!  I've been looking at it this weekend and hadn't figured out the solution.