GIF Help

Brian Johnson bjohnson at jecinc.on.ca
Thu Oct 26 11:16:05 EDT 2000


The strange thing is that if I load demo.html directly, it finds my .gif
files - but if I get at demo.html through demo_init.html it can't find my
.gif files.

I've tried both absolute and relative paths but still no luck




-----Original Message-----
From: Brian Fischer [mailto:Brian.Fischer at co.sherburne.mn.us]
Sent: Thursday, October 26, 2000 9:22 AM
To: bjohnson at jecinc.on.ca
Subject: Re: GIF Help


Brian,

Take a look at the source for the images.  Mapserver looks for the images
relative to where the map file is.  I usually have to have my img
src="../images/.gif  or something like that.  Just make sure the actual
location the web page is looking for the image is the same place you have it
on the hard drive.

Just a thought at what might be wrong.

Brian

Brian Fischer
GIS Coordinator, Sherburne County
13880 US Hwy 10
Elk River, MN 55330
ph. (763) 241-7006

>>> "Brian Johnson" <bjohnson at jecinc.on.ca> 10/25/00 10:36AM >>>
And now for another topic ...

I'm trying to customize demo.html to display some plain old .gif files, but
I can't get it to work - it displays the picture placeholder and the
alternate text.

I've copied the .gif files into a bunch of diffent directories to see if
that made a difference - but no luck.

My demo_init.html is in /var/lib/apache/htdocs which refers to
/ms_demo/demo.html

The mapserver part works fine, I just can't get it to display the .gif files

I've also tried changing the .gif file properties and adding an absolute
path in the demo.html - no luck


Anyone have any luck with this?




More information about the mapserver-users mailing list