[Mapserver-users] Images in the Template File

David Fawcett David.Fawcett at state.mn.us
Wed Feb 4 17:21:31 EST 2004


Instead of <img src='/images/north.gif'> try something like <img
src='http://MyDomainName/MyApplicationDirectory/images/north.gif'>

David.

David J. Fawcett
MN Office of Environmental Assistance

>>> "M. Beth Wilkerson" <bwilkerson at depauw.edu> 2/4/2004 3:59:04 PM
>>>
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/mapserver-users



More information about the mapserver-users mailing list