[WM] ${IMGSIZE}: cannot find image file "xx" in "(html-cleaner)"

Justin Mason jm.jmason.org
Mon Aug 20 12:24:31 IST 2001


Thomas Mueller said:

> 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.

This sounds odd.  The ${IMGSIZE} magic should work fine in that
situation; it must be a bug.

I've run up a test case for this, and there's a bug alright; if the
directory the output file exists in -- in your case "opt_dyndns" --
does not exist, the IMGSIZE code will fail.  Could this be it?

I've put up a new development version which fixes that bug --
it'd be handy if you could try with this version.  If it's still
not fixed, could you send a copy of the webmake file (and the image,
just in case it's something to do with that)  and I'll take a look.


> <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>

BTW I presume that's a typo and you meant ${IMGSIZE}?

Cheers,

--j.




More information about the Webmake-talk mailing list