[Chameleon] V1.99 image path

bartvde at xs4all.nl bartvde at xs4all.nl
Tue May 11 09:04:44 EDT 2004


Hi Markus,

you need to add the following to the index.phtml file of the application
that you are running.

$_SESSION['gszAppPath'] = "/ms4w/apps/geoservices05/htdocs";
$_SESSION['gszAppWebPath'] = "http://localhost/geoservices05";

Ofcourse you need to tweak those values for your situation. You are right
it all happens in the fileSystemToURL function.

Best regards,
Bart

> Hi all (Bart and Paul?)
>
> I had some problems with the config file, but at this error it can't be:
>
> The browser can't find the images (example):
>
> <IMG NAME="cwcimage_7" ID="cwcimage_7"
> SRC="/var/www/cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav_1.png"
> ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" WIDTH="60"
> HEIGHT="10">
>
> It should be:
>
> <IMG NAME="cwcimage_7" ID="cwcimage_7"
> SRC="http://cwc2-app/samples/htdocs/skins/sample/buttons/button_tab_nav_1.png"
> ALT="Navigation Tools" TITLE="Navigation Tools" BORDER="0" WIDTH="60"
> HEIGHT="10">
>
> I suppose the function that converts the image-button to the url path is
> not
> always running correctly.
>
> I know the source code not very good. I've found only the function
> fileSystemToURL();
> What can I change?
>
> Markus Schnider
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>



More information about the Chameleon mailing list