[WM] ${IMGSIZE}: cannot find image file "xx" in "(html-cleaner)"
Thomas Mueller
webmake.s2h.cx
Sun Aug 19 19:38:12 IST 2001
Hello,
I just switched my homepage (www.s2h.cx) over to using webmail and
almost everything worked like a charm. There is only one thing I
just can't figure out.
I get the error message
${IMGSIZE}: cannot find image file "xx" in "(html-cleaner)"
for every picture is use in html files not in the root of my
website.
I use one index.wmk file with multiple content entries to generate
the pages and export them with statements like
<content name="out_english_helper">
<{set page_text="${${WebMake.OutName}.txt}" }>
${english_page_template}
</content>
<out name="english_opt_dyndns" file="opt_dyndns/english.html">
${out_english_helper}
</out>
Which, as expected, creates a file in the subdirectory opt_dyndns
with the name english.html.
The content contains one picture which is located in the
subdirectory pic and called headwork.png.
I have put it into the html sourcecode as follows:
<content name="headworklink_template">
<a href="http://www.headwork-consulting.de">
<img src="$(TOP/)pic/headwork.png" ${IMAGESIZE}
alt="headwork Consulting GmbH" border="0"> </a>
</content>
Which is then used twice like this:
<p>
Development of this package was sponsored by<br>
${headworklink_template}
</p>
I don't understand why I get the above error message, especially
since the <img ..> tag is created correctly to reference the
picture.
------
Development of this package was sponsored by<br />
<a href="http://www.headwork-consulting.de"><img
src="../pic/headwork.png" alt="headwork Consulting GmbH" border="0"
/></a>
------
Can anybody enlighten me on this?
MfG :-)
Thomas Mueller
More information about the Webmake-talk
mailing list