[Mapserver-users] Images in the Template File

Martin, Daniel A Daniel.A.Martin at erac.com
Wed Feb 4 14:56:13 PST 2004


Your templates aren't in your web-server most likely.  If they are, they
(IMO) shouldn't be.

So le'ts assume they aren't.  Saying you can open the template and the
arrow images show up says to me that your images are in your template
folder.  This won't work.  Those images need to be in your web server.
The browser must be able to pull those images from a given URL address.

-Dan

> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu 
> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of 
> M. Beth Wilkerson
> Sent: Wednesday, February 04, 2004 3:59 PM
> To: Ryan, Adam
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] Images in the Template File
> 
> 
> Adam,
> 
> I think that I've tried everything...I've tried paths 
> relative to the mapserv executable, I've tried absolute paths 
> (i.e. Beginning with the root directory on my system), and I 
> think that I've tried everything in between, including 
> changing file permissions, file ownership, etc.  Can you tell 
> me what you mean by "absolute url paths"?  This is something 
> I'm not familiar with, and thus have probably not attempted.
> 
> BTW, I'm running MapServer 3.6.4 on a Macintosh G4 PowerBook 
> using Mac OS X 10.2.6.  (I've not been able to get MapServer 
> 4.0 to build on the Mac.)
> 
> Thanks & Cheers,
> Beth
> 
> 
> On 1/30/04 5:45 PM, "Ryan, Adam" <ARyan at co.linn.or.us> wrote:
> 
> > Are you using relative paths for the images?  Try absolute 
> url paths.
> > 
> > Adam Ryan
> > GIS Analyst
> > Linn County GIS Department
> > County Courthouse / Room 25
> > 300 SW Fourth Ave.
> > Albany, OR 97321
> > 541.812.8760
> > aryan at co.linn.or.us
> > 
> > 
> > 
> > -----Original Message-----
> > From: M. Beth Wilkerson [mailto:bwilkerson at depauw.edu]
> > Sent: Friday, January 30, 2004 2: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/maps> erver-users
> 




More information about the MapServer-users mailing list