Trixology
WeatherCat => WeatherCat Web Templates => Topic started by: TechnoMonkey on October 12, 2014, 04:45:41 PM
-
For you gurus out there. HELP!
This is my file:
<tr>
<td style="vertical-align: top;">DWINDD$<br>
</td>
<td style="vertical-align: top;">Replaced with current wind direction dial.<br>
</td>
<td style="vertical-align: top;">DWINDD$<br>
</td>
<td style="vertical-align: top;"><img src="WCFILES/DWINDD$" alt="">
</td>
</tr>
If I name it *.php, this is the result:
<tr>
<td style="vertical-align: top;">DWINDD$<br>
</td>
<td style="vertical-align: top;">Replaced with current wind direction dial.<br>
</td>
<td style="vertical-align: top;">DWINDD$<br>
</td>
<td style="vertical-align: top;"><img src="WCFILES/winddirection.jpg" alt="">
</td>
</tr>
If I name the file *.html, I get this:
<tr>
<td style="vertical-align: top;">DWINDD$<br>
</td>
<td style="vertical-align: top;">Replaced with current wind direction dial.<br>
</td>
<td style="vertical-align: top;">DWINDD$<br>
</td>
<td style="vertical-align: top;"><img src="WCFILES/<img src="winddirection.jpg" alt="Wind direction gauge"/>" alt="">
</td>
</tr>
Any ideas on how I can fix this?
-
Dear TechnoMonkey and WeatherCat web spinners,
I just checked my own website and indeed it is expected that you will allow WeatherCat to generate the <img . .> tag and that the images are supposed to be in the same directory as the HTML. I don't think there is a way to put them into a subdirectory. If you want to ask Stu about it you'll have to wait until he gets back from his holiday on Tuesday.
Cheers, Edouard
-
Correct, the tags will expect the images to be in the same directory as the page.