No subject
Fawcett, David
David.Fawcett at STATE.MN.US
Tue Jan 8 06:48:23 PST 2008
By modifying only the html image tags, you are just stretching the same
image that MapServer gave you before.
If you want a larger image, you will need to change the SIZE parameter
in your map file. If you don't want to do this statically in your map
file, you can modify the map image size by adding '&map_size=1000+1000'
to your URL (this is the syntax for MapServer 4.x, it is probably a
little different for 5.x)
David.
-----Original Message-----
From: UMN MapServer Users List
[mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of User Map
Sent: Tuesday, January 08, 2008 8:31 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS]
hi,
i have shown my area map as a static map through html. i want
to show this image larger on the html page, and also to save that as a
bigger image. i have tried setting the width and height in the image
tag, it makes the image bigger but distorted/streched. and when i save
that streched image the original image is saved but not the streched
one. can u tell how to solve this.thanks for helping.
my html code is:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<link type="text/css" rel="stylesheet" href="ms35.css" />
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table align="center" border="0">
<tr>
<td>
<h3 align="center"> Map of post code</h3>
<div align="center">
<img border="1" width="600" height="500"
src="/cgi-bin/mapserv.exe?map=/ms4w/Apache/htdocs/chk/db.map&layer=state
s&layer=state&layer=stat&mode=map" />
</div>
</td>
</tr>
</table>
</body>
</html>
thanks for helping.
________________________________
Looking for last minute shopping deals? Find them fast with
Yahoo! Search.
<http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsear
ch/category.php?category=shopping>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080108/902f7478/attachment.htm>
More information about the MapServer-users
mailing list