[Mapserver-users] Images in the Template File

Ed McNierney ed at topozone.com
Fri Jan 30 19:05:03 EST 2004


Beth -

That's a symptom of your Web server's virtual directory structure not
mapping exactly on to your file system's structure, or of paths in the
"SRC" field of those images that are file/directory paths rather than
URL paths.  Just as a random example, the following IMG tag:

	<IMG SRC="C:\Pics\MyArrow.jpg">

Will work just fine if I open that HTML file locally, but won't work at
all if I come in over the Web via a URL.

	- Ed 

Ed McNierney
President and Chief Mapmaker
TopoZone.com
-----Original Message-----
From: M. Beth Wilkerson [mailto:bwilkerson at depauw.edu] 
Sent: Friday, January 30, 2004 5:06 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Images in the Template File

Hello!

I'm relatively new to MapServer and am still learning how to use it...

I'm currently working on adding JavaScript-based panning controls as
shown in the online Tutorial.  Although I've got the actual controls
working, the eight arrow graphic images (I've tried GIF, JPEG and PNG
file formats) do not show up.  I just get "missing picture" icons around
the map.  If I open the template file in a browser window without going
through MapServer, the arrow graphics display fine.  Does anyone know
what the problem might be and a possible solution?

Thanks in advance,
Beth

--
M. Beth Wilkerson
CGMA Project Programmer
GIS Advocate
DePauw University


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the mapserver-users mailing list