Page 1 of 1
Adding Sat Images to indexT.htm
Posted: Thu 28 Oct 2010 3:00 pm
by mickopla
I tried to add the Sat images like here
http://www.laoisweather.com/index.php?o ... b4d3ffcd58 to my website,
www.waterfordcityweather.com but its not working for me. I just get blank boxes with no images in them. Is there a particular reason why it won't work???
Mike
Re: Adding Sat Images to indexT.htm
Posted: Thu 28 Oct 2010 3:07 pm
by daj
Can you show us the HTML code you were using
Looking at your current website, I do not see a blank box so I guess you have removed the code
Re: Adding Sat Images to indexT.htm
Posted: Thu 28 Oct 2010 4:36 pm
by mickopla
daj wrote:Can you show us the HTML code you were using
Looking at your current website, I do not see a blank box so I guess you have removed the code
Here is the code i used
</p>Satellite
</td>
</tr>
</tbody></table>
<table class="contentpaneopen">
<tbody><tr>
<td valign="top">
<p>The images below are from <a href="
http://www.sat24.com/gb">http://www.sat24.com/gb</a> and show both Visible Satellite and IR Satellite imagery.</p><p><img src="./Satellite_files/images.php" border="0" alt="Visible Satellite" title="Visible Satellite" width="640" height="480"></p><p><strong><img src="./Satellite_files/images(1).php" border="0" alt="IR Satellite" title="IR Satellite" width="640" height="480"> </strong></p><p><strong>Please Note: </strong>Never base important decisions on this or any weather information obtained from the Internet.</p>
Re: Adding Sat Images to indexT.htm
Posted: Thu 28 Oct 2010 4:44 pm
by daj
mickopla wrote:
<p>The images below are from <a href="
http://www.sat24.com/gb">http://www.sat24.com/gb</a> and show both Visible Satellite and IR Satellite imagery.</p><p><img
src="./Satellite_files/images.php" border="0" alt="Visible Satellite" title="Visible Satellite" width="640" height="480"></p><p><strong><img
src="./Satellite_files/images(1).php" border="0" alt="IR Satellite" title="IR Satellite" width="640" height="480"> </strong></p><p><strong>Please Note: </strong>Never base important decisions on this or any weather information obtained from the Internet.</p>
Unless these files exist on your webserver it will not work as the source (src) is listed as a relative path (i.e. on your server relative to your web page)
It would need to be something like....
src="
http://www.sat24.com/images.php?country ... 0912561562"
Which tells the web page to pull the images from another location (i.e. not your server but the sat24 one). I got the correct 'src' location by looking at the HTML source of the Laois County Weather site
Re: Adding Sat Images to indexT.htm
Posted: Thu 28 Oct 2010 4:57 pm
by mickopla
daj wrote:mickopla wrote:
<p>The images below are from <a href="
http://www.sat24.com/gb">http://www.sat24.com/gb</a> and show both Visible Satellite and IR Satellite imagery.</p><p><img
src="./Satellite_files/images.php" border="0" alt="Visible Satellite" title="Visible Satellite" width="640" height="480"></p><p><strong><img
src="./Satellite_files/images(1).php" border="0" alt="IR Satellite" title="IR Satellite" width="640" height="480"> </strong></p><p><strong>Please Note: </strong>Never base important decisions on this or any weather information obtained from the Internet.</p>
Unless these files exist on your webserver it will not work as the source (src) is listed as a relative path (i.e. on your server relative to your web page)
It would need to be something like....
src="
http://www.sat24.com/images.php?country ... 0912561562"
Which tells the web page to pull the images from another location (i.e. not your server but the sat24 one). I got the correct 'src' location by looking at the HTML source of the Laois County Weather site
So if i replace the current src ./Satellite....... with the src ="
http://www.sat24.com/images.php?country ... 0912561562" will it work ???? cheers for the replies daj