Bugzilla – Bug 824
images don't show up in plugin webpages
Last modified: 2005-02-03 10:02:33 UTC
without including image files in a plugin HTML tree, the server should go back to the main EN/html and try. However, it seems this is not part of the search path. I've included a log here, with an addition debug msg inserted into fixHTTPPath so it can be shown how the templateDirs are being searched. I've seen this with AlienBBC as well. 2005-02-02 15:52:40.4497 No more messages to send to 127.0.0.1 2005-02-02 15:52:40.4519 Accepted connection 2 from 127.0.0.1 2005-02-02 15:52:40.4621 No segment to send to 127.0.0.1, waiting for next request.. 2005-02-02 15:52:40.4642 reading request... 2005-02-02 15:52:40.4645 HTTP request: from 127.0.0.1 (HTTP::Daemon::ClientConn=GLOB(0x6362ad4)) for GET HTTP/1.1 /plugins/MoodLogic/html/images/spacer.gif 2005-02-02 15:52:40.4661 processURL Clients: 127.0.0.1:1149 2005-02-02 15:52:40.4667 Generating response for (gif, image/gif) plugins/MoodLogic/html/images/spacer.gif 2005-02-02 15:52:40.4674 generating from plugins/MoodLogic/html/images/spacer.gif 2005-02-02 15:52:40.4677 reading http file for (Default plugins/MoodLogic/html/images/spacer.gif) 2005-02-02 15:52:40.4680 Checking for D:\slim\imports\HTML\Default\plugins\MoodLogic\html\images\spacer.gif. 2005-02-02 15:52:40.4687 Checking for D:\slim\imports\Plugins\MoodLogic\HTML\Default\plugins\MoodLogic\html\images\spacer.gif. 2005-02-02 15:52:40.4692 couldn't find Default plugins/MoodLogic/html/images/spacer.gif trying for EN 2005-02-02 15:52:40.4696 Checking for D:\slim\imports\HTML\EN\plugins\MoodLogic\html\images\spacer.gif. 2005-02-02 15:52:40.4702 Checking for D:\slim\imports\Plugins\MoodLogic\HTML\EN\plugins\MoodLogic\html\images\spacer.gif. 2005-02-02 15:52:40.4708 Couldn't open: plugins/MoodLogic/html/images/spacer.gif 2005-02-02 15:52:40.4711 generating from html/errors/404.html 2005-02-02 15:52:40.4778 End request: keepAlive: [1] - waiting for next request on connection = keep-alive 2005-02-02 15:52:40.5534 No more messages to send to 127.0.0.1 2005-02-02 15:52:40.5543 No segment to send to 127.0.0.1, waiting for next request..
Try using absolute paths for images in the main server area instead of relative ones. <img src="[% webroot %]html/images/spacer.gif" /> instead of: <img src="html/images/spacer.gif" /> I don't think that we should attempt to change this behavior.
thanks. that seems to do it.