I've got an image and an image map, and they work fine together.
See it here: http://www.jim-land.com/testing/MapPage01.htm
But the image map has way too many points (vertices) in its 87 polygons.
The html file is over 100k. That's too big to fit into our content-
managment system, not to mention that it takes too long to load--about 30
seconds--over a 58k dialup connection.
The problem is that the polygons are far too accurate.... they contain
many more points than necessary. (I salute whoever made the image map,
and admire the precision they obtained, but it's just *too* *good* for my
purposes.)
- Example: Rock County (low left corner of image) is basically a
parallelogram, and could be mapped with four points, but its image map
contains over 80 points!
Sooo.... is there any easy way to reduce the number of points in those
polygons? I mean, without editing the text file by hand? Or creating 87
new image maps? (ugh!) 8^(
Thanks in advance! 4 4637
Jim Land <Rr************ ****@hotNOSPAMm ail.NOSPAMcom> wrote: I've got an image and an image map, and they work fine together.
See it here: http://www.jim-land.com/testing/MapPage01.htm
I guess it works in principle, but inefficiently, as you describe.
There's a minor flaw I think, though: the ALT texts all contain the word
"County" for no good purpose. Think about listening to them all; that
word almost doubles the time. On the other hand, a client-side image map
should always be accompanied with a an alternative that consists of
simple links*), which could be in alphabetic order, so for MAP elements,
the ALT attributes are mostly a matter of principle.
*) Especially considering the almost total lack of support to such image
maps in Internet Explorer, Mozilla, Opera, and other popular browsers
in a mode where image loading has been disabled. For details on this,
see or hear http://www.cs.tut.fi/~jkorpela/html/mapalt.html
(I salute whoever made the image map, and admire the precision they obtained, but it's just *too* *good* for my purposes.)
I agree. But probably someone used a program to generate the AREA
elements. A person who does such things by hand, or even
semiautomatical ly (interactively using a mapping program) probably
notices the rectangular areas and defines them as rectangles, for which
you could use AREA with shape="rect".
Sooo.... is there any easy way to reduce the number of points in those polygons? I mean, without editing the text file by hand?
I think you need to rewrite the entire MAP element for that - it's faster
than fixing the existing one. But you don't need to do that by hand. You
could use software like
MapThis http://www.abdn.ac.uk/tools/ibmpc/mapthis/
MapEdit http://www.boutell.com/mapedit/
What they offer is a graphic interface that lets you select vertices of
areas by clicking on them, and the program generates the corresponding
AREA elements.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
On 24 Sep 2004 05:13:58 GMT, Jim Land
<Rr************ ****@hotNOSPAMm ail.NOSPAMcom> wrote: I've got an image and an image map, and they work fine together.
See it here: http://www.jim-land.com/testing/MapPage01.htm
But the image map has way too many points (vertices) in its 87 polygons. The html file is over 100k. That's too big to fit into our content- managment system, not to mention that it takes too long to load--about 30 seconds--over a 58k dialup connection.
The problem is that the polygons are far too accurate.... they contain many more points than necessary. (I salute whoever made the image map, and admire the precision they obtained, but it's just *too* *good* for my purposes.)
- Example: Rock County (low left corner of image) is basically a parallelogra m, and could be mapped with four points, but its image map contains over 80 points!
Sooo.... is there any easy way to reduce the number of points in those polygons? I mean, without editing the text file by hand? Or creating 87 new image maps? (ugh!) 8^(
I would delete the current image map and create a new, simpler one
from scratch. It would only take me about 15 minutes to map all the
counties. The one thing that the 'Design View' in Dreamweaver is good
for is creating image maps with minimum hassle. Other software also
exists to make image maps easy.
Steve
"Jim Land" <Rr************ ****@hotNOSPAMm ail.NOSPAMcom> a écrit dans le
message de news:Xn******** *************** **********@209. 98.13.60 I've got an image and an image map, and they work fine together.
See it here: http://www.jim-land.com/testing/MapPage01.htm
But the image map has way too many points (vertices) in its 87 polygons. The html file is over 100k. That's too big
Well, you can do this server side, using a simple input type=image you will
get the x,y coordinates that was clicked on the picture. Then a server side
treatment can do whatever action is intend by clicking in the corresponding
zone of the picture !
"Pierre Goiffon" <pg******@nowhe re.invalid> wrote: "Jim Land" <Rr************ ****@hotNOSPAMm ail.NOSPAMcom> a écrit dans le message de news:Xn******** *************** **********@209. 98.13.60 I've got an image and an image map, and they work fine together.
See it here: http://www.jim-land.com/testing/MapPage01.htm
But the image map has way too many points (vertices) in its 87 polygons. The html file is over 100k. That's too big
Well, you can do this server side, using a simple input type=image you will get the x,y coordinates that was clicked on the picture. Then a server side treatment can do whatever action is intend by clicking in the corresponding zone of the picture !
Yes. But then the image map would be completely useless to people who
aren't displaying images, to people who can't use a pointing device
and use only the keyboard for interaction, and to the blind. It would
have to be supplemented with an alternative method of selecting a
country. (As Jukka points out, shortcomings in current browsers make
that advisable for client-side image maps as well.)
--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Cybex |
last post by:
Who knows how this is done:
http://www.danasoft.com/vipersig.jpg
As you can see the signature is dynamical, it uses gdlib I assume and php.
But does anybody have any code for this? Please help me find this, I
allready searched alot, but can't seem to find anything yet...
Regards, Cybex
|
by: David |
last post by:
Is it possible to create more than one polygon (using the imagepolygon
function) and then paste them on to one image? i have no idea how to do
this. I did post this a few days ago but my computer seems to have lost the
reply,
thanks Dave
|
by: D. Alvarado |
last post by:
Hello,
I am trying to open a window containing an image and I would like
the image to be flush against the window -- i.e. have no padding or
border. Can I make this happen with a single call to a window.open
function? I would prefer not to create a separate HTML page. So far
all I have is the basic
var cwin = window.open('images/KJV-THANKS.gif',
'Thanks', 'width=243,height=420,');
cwin.focus();
|
by: Tim Marshall |
last post by:
Is this possible does anyone know? I mean other than using imaging
software.
The scenario is this. I have a form with a large image control over
which is imposed a grid of squares (label controls with transparent
backgrounds). The image control is a map (user chooses a map or image
in previous forms). The idea is to use the on click event of a label to
bring up another form into which comments, etc, can be stored about that
area of...
|
by: Saya |
last post by:
Hello,
The IIS default location for images, usually is
'Inetpub/wwwroot/images'; currently I'm using:
'picWeb.Image=GetImage(IMG_URL+filename)', where
IMG_URL="http://ipadress/images", to reach my images in my web service
application.
Is there a command available to get the images from a different
location in the server machine, for example at another logical drive?
| |
by: pmud |
last post by:
Hi,
I have an image which resides on a different server...on data server. I am
developing on Development server. When I use the image URLin my ASP.Net web
page as xxx.xxx.x.xx\\SHARE\GRAPHICS\image.jpg , that image shows up in the
development server but when I use my local machine for vewing that image , it
doesnt show up...Why is that?
--
pmud
|
by: yoyo |
last post by:
Ok, I think I just may be a moron, but where the heck are the Image
extenders found? I've look all around, tried all the DB2 cd's I have,
are they installed by default somewhere? Which install fileset (AIX) are
they part of?
The CD's only show spatial and xml extenders?
|
by: tshad |
last post by:
I am trying to set up an Image authorization where you type in the value
that is in a picture to log on to our site.
I found a program that is supposed to do it, but it doesn't seem to work.
It should put a blue and yellow box on the page with "This is a test" as
part of the picture. But what I get is a broken Gif.
The other problem is that I can't view the source???? The view source is
disabled for this page. What causes this?
|
by: Baron Samedi |
last post by:
Every so often, I see someone wanting to prevent heir images being
downloaded and the general consensus is "you can't".
Now a friend has asked me to think some more about this, and I think
that I might have a solution. It is somewhat complicated, but it
probably ought to work....
Forget disabling right click menus and the like, it seems to me that
the problem is screen capture.
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |