My wxtrends.php is showing no dirplot.gif image. I am creating the file in WD and it is uploading to my web server but when i inspect element of the image its looking for /imagesdirplot.gif. Can i change this to look for /dirplot.gif or how do i create a /imagesdirplot.gif file in WD??? A link to the page is here www.waterfordcityweather.com/wxtrends.php
I don’t seem to have a trends-inc.php just a WD-trends-inc.php file. Are they one in the same?? This is how it looks at the moment noting that i didn’t edit anything. I wonder where is it getting the imagesdirplot.gif from.
Yes they are the same files, I use an older version of the template.
It’s getting it from this piece of code:
<?php echo $graphImageDir; ?>
This tells the server where to look for the images.
If you look in the Settings-weather.php file you’ll see line like this:
$SITE['graphImageDir'] = './'; // directory location for graph images with trailing /
This is where it’s getting the “image” part from. You can either correct the location in this line or remove the code that I posted above, providing that your dirplot.gif is in the main directory of your site.