[WM] ${IMGSIZE}: cannot find image file "xx" in "(html-cleaner)"
Thomas Mueller
webmake.s2h.cx
Mon Aug 20 20:24:19 IST 2001
Hello Justing,
On Monday 20 August 2001 13:24, you wrote:
> 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?
Not really, since the directory is created by webmail the first
time it is run, but even subsequent runs show this error.
> 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.
Hm, where would I find it? I'll have a look at the webmake homepage
later...
> > <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}?
It was indeed. But oddly, the error for this particular image went
away after I fixed this typo and to be even worse: It didn't come
back, when I changed it back! I don't understand this. But I have
got plenty of others where it still happens.
[... busily checking everything, I hate it when I make a bug report
and it then goes away and makes me look stupid! ...]
Now this is funny:
Apparently I get this error for images where I do NOT specify the
${IMGSIZE} option! When I add it, it goes away and sometimes even
does not come back when I remove it again! (maybe cached?)
Could it be, that html-cleaner tries to add the size on its own,
when it is not specified and for some reason fails to find the
picture in this case?
MfG :-)
Thomas Mueller
More information about the Webmake-talk
mailing list