[WM] Webmake not finding certain images.

jlm17 jlm17 at lucent.com
Thu May 6 12:30:24 IST 2004


Thanks for all of the feedback.

Brian, I tried your <media ...> hack but it didn't change the behavior.

I can't believe that this problem has anything to do with Image Magick. If I run webmake with the -F 
flag, I get the error. If I then run it again without, those very html files that I got the error 
with are regenerated, because it somehow can now find the image files and correctly populates the 
width and height attributes.

Robert Echlin wrote:
> jlm17 wrote:
> 
>> I am getting some errors with webmake like this:
>>
>> Use of uninitialized value in string eq at 
>> /usr/lib/perl5/site_perl/5.8.0/HTML/WebMake/Main.pm line 1732.
>> Use of uninitialized value in string eq at 
>> /usr/lib/perl5/site_perl/5.8.0/HTML/WebMake/Main.pm line 1732.
>> ${IMGSIZE}: cannot find image file "images/cygwina.jpg" in 
>> "(html-cleaner)"
> 
> 
> Image magick seems to require extensions (delegates) for each file type.
> On Windows, they seem to be installed with it, but it's possible they 
> are not on Linux. It's also possible that the jpeg and gif add ons are 
> not installed automatically on any system due to copyright issues.
> 
> Robert
> 
>>
>> My output files go into .. (the source directory is a subdirectory of 
>> the publish dir). ../images holds a number of images used throughout 
>> the web site. For some reason only about 3 images are unable to be 
>> found. These files are indeed in ../images and their permissions are 
>> the same as the others.
>>
>> Further investigation shows that this happens when the -F flag is 
>> used. Also, it only occurs with files that are gifs and jpegs. pngs 
>> seem to work correctly. I converted one image from png to gif, renamed 
>> the file in the wmk content and webmake says it is not found.
>>
>> Has anyone else seen this? Since I successfully debugged my previous 
>> problem I am reasonably confident in figuring this one out but I just 
>> wanted to run it by the list first.
>>
>> Thanks.
>> _______________________________________________
>> Webmake-talk mailing list
>> Webmake-talk at taint.org
>> http://webmake.taint.org/mailman/listinfo/webmake-talk
>>
> 


More information about the Webmake-talk mailing list